e1d7c9d42c
Boxed types and primitive types should cooperate properly now with primitive types in all basic cases. Added tests that verify this.
9 lines
158 B
Kotlin
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!!)
|
|
}
|
|
} |