Skip to content

Commit 35f3f9c

Browse files
committed
Fix test
1 parent 4a91353 commit 35f3f9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/neg/i11694.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ def test1 = {
55
def f21: (Int => Int) | Null = x => x + 1
66
def f22: Null | (Int => Int) = x => x + 1
77

8-
def f31: (Int => Int) | (Int => Int) = x => x + 1
9-
def f32: (Int => Int) | (Int => Int) | Unit = x => x + 1
8+
def f31: (Int => Int) | (Int => Int) = x => x + 1 // error
9+
def f32: (Int => Int) | (Int => Int) | Unit = x => x + 1 // error
1010

1111
def f41: (Int => Int) & (Int => Int) = x => x + 1
1212
def f42: (Int => Int) & (Int => Int) & Any = x => x + 1

0 commit comments

Comments
 (0)