blob: 29601c1d4a2024bc2592a1107cc65d7d17f53708 (
plain) (
tree)
|
|
check-dead.scala:7: error: dead code following this construct
def z1 = y1(throw new Exception) // should warn
^
check-dead.scala:10: error: dead code following this construct
def z2 = y2(throw new Exception) // should warn
^
check-dead.scala:29: error: dead code following this construct
throw new Exception // should warn
^
check-dead.scala:33: error: dead code following this construct
throw new Exception // should warn
^
four errors found
|