Skip to content

Commit 98bd575

Browse files
committed
Adding test for Unit vars.
1 parent d0186b0 commit 98bd575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/blockescapes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ object blockescapes {
33
{ val x = 0; () }
44
val x0 = { class Foo; new Foo }
55
val x1 = {}
6-
val x2 = { val z = 0 }
6+
var x2 = { val z = 0 }
77
val m1 = { val x = 2; x }
88

99
trait T

0 commit comments

Comments
 (0)