Skip to content

Commit 45c7d68

Browse files
committed
Regression test for #7888
1 parent 19ae73b commit 45c7d68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/i7888.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def usingSeq[B](f: [A] => Seq[A] => B): B = {
2+
f(Nil)
3+
}
4+
def crash() = {
5+
usingSeq { [A] => (a: Seq[A]) =>
6+
a
7+
}
8+
}

0 commit comments

Comments
 (0)