Skip to content

Commit c862b50

Browse files
committed
Avoid errors in stdlib
1 parent 97c2362 commit c862b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/init-global/warn/of-class-unsound.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class A[T](var a: T) extends Base[T]:
99

1010
class B[T](var b: T) extends Base[T]:
1111
def update(n: T) =
12-
println(O.x) // warn
12+
O.x // warn
1313
b = n
1414

1515
object O:

0 commit comments

Comments
 (0)