blob: 3ecc1e7cef1781ef13163a9897400e0b1566511a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class A {
def f(x : Boolean) : Thread = {
g {
x match {
case false =>
B.h { }
}
}
}
private def g[T](block : => T) = sys.error("")
}
object B {
def h(block : => Unit) : Nothing = sys.error("")
}
|