21bc2887d2
Omit Unit return type Refactor handling of Unit type: extract separate object UnitType
9 lines
151 B
Kotlin
9 lines
151 B
Kotlin
package demo
|
|
import kotlin.compatibility.*
|
|
open class Test() {
|
|
open fun test() {
|
|
var i : Int? = 10
|
|
var j : Int? = 10
|
|
System.out?.println(i!! + j!!)
|
|
}
|
|
} |