Skip to content

Commit c9ed806

Browse files
committed
Updating early-promote5.scala
1 parent 175ef55 commit c9ed806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/init/neg/early-promote5.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
abstract class A {
2-
bar(this)
2+
bar(this) // error
33
def bar(x: A): Unit
44
}
55

0 commit comments

Comments
 (0)