Open dotta opened 11 years ago
And, of course, this is now working fine. I'm puzzled.
Oh, I see! Apparently, this always breaks (consistently) on a freshly created project!
Bottom line, to reproduce the issue, create a new Scala project, then create a worksheet and paste the snippet provided in the description, and you'll see the issue.
Then, if you play around enough time with the same worksheet, you may eventually get it to a state where it starts doing the right thing. Don't ask why, I'm still trying to figure this out.
The following doesn't produce any output
While I would expect it to print
Just like in the REPL.
Here is the the instrumented code
Which makes it pretty clear that this is a bug in the instrumentation. What I'd expect to see is something like the following: