Skip to content

Commit c5aab82

Browse files
committed
Update comments
1 parent 1eed780 commit c5aab82

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

tests/explicit-nulls/neg/eq.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ class Foo {
4141
null == false // error
4242
'a' == null // error
4343
null == 'b' // error
44-
}
44+
}

tests/explicit-nulls/pos/flow4.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// TODO: broken
21
// This test is based on tests/pos/rbtree.scala
32
// and it tests that we can use an inline method to "abstract" a more complicated
43
// isInstanceOf check, while at the same time getting the flow inference to know

tests/explicit-nulls/pos/stable-path.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def f() = {
88
val a: xs.x.type = xs.x
99
assert(xs.next != null)
1010
val b: xs.next.x.type = xs.next.x
11-
}
11+
}

tests/explicit-nulls/pos/while-loop.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def f = {
1515
}
1616
xs = xs.next
1717
}
18-
}
18+
}

tests/explicit-nulls/run/while-loop.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ object Test {
99
xs = xs.next
1010
}
1111
}
12-
}
12+
}

0 commit comments

Comments
 (0)