blob: 36cc1ddf3ef910328449a8439f4da6634dd0cd27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class C {
final def resume: Unit = (this: Any) match {
case x : C => (x: Any) match {
case y : C =>
() => (x, y) // used to trigger a ClassFormatError under -Ydelambdafy:method
}
}
}
object Test extends App {
new C().resume
}
|