We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb228f commit 6701236Copy full SHA for 6701236
tests/run/i5386.check
@@ -0,0 +1,8 @@
1
+!
2
3
4
5
+1
6
+2
7
8
tests/pos/i5386.scala renamed to tests/run/i5386.scala
@@ -1,4 +1,4 @@
-object Test {
+object Test extends App {
~{
println("!")
@@ -26,7 +26,7 @@ object Test {
26
27
28
class C {
29
- def foo: 1 = 1
+ def foo: 1 = { println("1"); 1 }
30
}
31
32
{ println("!"); new C }.foo
0 commit comments