From 3c3226fc737a48e305862a44b8b8514be3cbe99d Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 17 Aug 2020 21:13:47 -0400 Subject: [PATCH] Explain how to get 'Init You, Init Me' working in 2.13.2 or newer See https://github.com/scala/scala/pull/8748 --- puzzlers/pzzlr-010.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/puzzlers/pzzlr-010.html b/puzzlers/pzzlr-010.html index c773743..0403523 100644 --- a/puzzlers/pzzlr-010.html +++ b/puzzlers/pzzlr-010.html @@ -20,6 +20,8 @@

Init You, Init Me

What is the result of executing the following code?

+// 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