Skip to content

Commit e4c64b7

Browse files
author
Jendrik Wenke
committed
remove double definition in singletonOr test
1 parent c569c8a commit e4c64b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/neg/singletonOrs.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
object Test {
2-
def foo: 1 | 2 = 1 // error // error
3-
def bar: 3 | 4 = foo // error // error
4-
def foo: 1 | 2 = 1 // error // error // error
5-
def bar: 1 = foo // error
2+
def a: 1 | 2 = 1 // error // error
3+
def b: 3 | 4 = a // error // error
4+
def c: 1 | 2 = 1 // error // error
5+
def d: 1 = a
66
}

0 commit comments

Comments
 (0)