We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ae73b commit 45c7d68Copy full SHA for 45c7d68
tests/pos/i7888.scala
@@ -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