object A { val x: Int = B.x }; object B { val x: Int = A.x }; println((A.x, B.x)) // what's the output? #ScalaPuzzler
@puffnfresh You should remove the parentheses inside the println for some added autotupling confusion...
-
-
@propensive but then it wouldn't compile under my settings :) -
@puffnfresh Oh, good call on the settings! - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.