Skip to content

Commit e425ef8

Browse files
committed
Complicate tests
1 parent cd9fdf9 commit e425ef8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/neg/parser-stability-25.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ trait C {
99
class D extends (Int => 1) {
1010
def apply(x: Int) = 2 // error
1111
}
12+
13+
class Wrap(x: Int)
14+
class E extends (Wrap)( // error
15+
// error

tests/neg/parser-stability-27.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class F extends (Int => 1)( // error
2+
// error

0 commit comments

Comments
 (0)