Skip to content

Commit e1717c6

Browse files
committed
Add some testcases
1 parent 24d6c9c commit e1717c6

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

tests/neg/i4373a.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// ==> 040fb47fbaf718cecb11a7d51ac5a48bf4f6a1fe.scala <==
2+
object x0 {
3+
val x0 : _ with // error // error // error

tests/neg/i4373b.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// ==> 05bef7805687ba94da37177f7568e3ba7da1f91c.scala <==
2+
class x0 {
3+
x1: // error
4+
x0 | _ // error // error

tests/neg/i4373c.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// ==> 18b253a4a89a84c5674165c6fc3efafad535eee3.scala <==
2+
object x0 {
3+
def x1[x2 <:_[ // error // error // error

0 commit comments

Comments
 (0)