Skip to content

Commit e2932b5

Browse files
committed
Fix #6682: Add regression test
1 parent a2e7b73 commit e2932b5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/pos/i6682a.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object O{
2+
val v = [T] => (y:T) => (x:y.type) => 3
3+
def m = v(v)
4+
}

tests/pos/i6682b.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object O{
2+
val v = [T] => (y:T) => (x:y.type) => 3
3+
val u = [T] => (y:T) => (x:y.type) => 3
4+
def m = v(u)
5+
}

0 commit comments

Comments
 (0)