added ThrowExceptionInstruction

(to store throw expression in it)
This commit is contained in:
Svetlana Isakova
2012-12-12 18:28:45 +04:00
parent e72cdbc1f7
commit 9904f21ceb
7 changed files with 81 additions and 7 deletions
@@ -5,5 +5,5 @@ fun foo() {
if (x == null) throw bar(<!TYPE_MISMATCH!>x<!>)
throw bar(x)
throw <!UNREACHABLE_CODE!>bar(x)<!>
}
<!UNREACHABLE_CODE!>throw bar(x)<!>
}