KT-3978: Kotlin: [Internal Error] org.jetbrains.jet.codegen.CompilationException: Back-end (JVM) Internal error: null
#KT-3978 Fixed
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user