Skip to content

Commit 1380929

Browse files
committed
Migrate test due to races in merge
1 parent 74d2848 commit 1380929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/init-global/neg/TypeCast.scala renamed to tests/warn/TypeCast.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ object A {
44
}
55
object B {
66
val f: Int = g()
7-
def g(): Int = f // error
7+
def g(): Int = f // warn
88
}
99
object C {
1010
val a: A.type | B.type = if ??? then A else B

0 commit comments

Comments
 (0)