Files
kotlin-fork/tests/testData/ast/file/comp/intNullability.kt
T
Santeri Hiltunen e1d7c9d42c Fixes to handling of boxed types
Boxed types and primitive types should cooperate properly now with
primitive types in all basic cases. Added tests that verify this.
2013-10-29 21:03:12 +04:00

9 lines
158 B
Kotlin

package demo
import kotlin.compatibility.*
open class Test() {
open fun test() : Unit {
var i : Int? = 10
var j : Int? = 10
System.out?.println(i!! + j!!)
}
}