Skip to content

Commit

Permalink
Explain how to get 'Init You, Init Me' working in 2.13.2 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Phillips committed Aug 18, 2020
1 parent 27dc1ad commit 3c3226f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions puzzlers/pzzlr-010.html
Expand Up @@ -20,6 +20,8 @@ <h1>Init You, Init Me</h1>
<div class="code-snippet">
<h3>What is the result of executing the following code?</h3>
<pre class="prettyprint lang-scala">
// start a 2.13.2 or newer REPL using "scala -Yrepl-class-based:false"
// see https://github.com/scala/scala/pull/8748
object XY {
object X {
val value: Int = Y.value + 1
Expand Down

0 comments on commit 3c3226f

Please sign in to comment.