Introduce experimental FIR compiler #KT-31265 Fixed

This commit also includes several FIR2IR fixes which helps FIR compiler
to produce normal results
This commit is contained in:
Mikhail Glukhikh
2019-05-16 11:48:02 +03:00
parent 892419c08a
commit f4fdc66a34
42 changed files with 331 additions and 54 deletions
+12
View File
@@ -0,0 +1,12 @@
fun box(): String = "OK"
class E(s: String) : Exception(s) {
}
fun main(args: Array<String>) {
if (box() == "OK") {
throw E("Hello")
}
}