Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e2932b5

Browse files
committedAug 13, 2020
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)
Please sign in to comment.