KT-3978: Kotlin: [Internal Error] org.jetbrains.jet.codegen.CompilationException: Back-end (JVM) Internal error: null

#KT-3978 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-09-18 17:08:15 +04:00
parent 0486e6cf4c
commit fc1c3a2e23
9 changed files with 89 additions and 5 deletions
@@ -0,0 +1,10 @@
fun box() : String {
fun local(i: Int = 1) : Int {
return i
}
return if (local() != 1) "fail" else "OK"
}
@@ -0,0 +1,8 @@
class Z {}
fun box(): String {
fun Z.plus(s : String, d : String = "K") : String {
return s + d
}
return Z() + "O"
}