Files
kotlin-fork/compiler/testData/codegen/regressions/kt756.jet
T
2012-09-17 18:00:21 +04:00

12 lines
314 B
Plaintext

package demo_range
fun Int?.plus() : Int = this!!.plus()
fun Int?.dec() : Int = this!!.dec()
fun Int?.inc() : Int = this!!.inc()
fun Int?.minus() : Int = this!!.minus()
fun box() : String {
val x : Int? = 10
System.out?.println(x?.inv())// * x?.plus() * x?.dec() * x?.minus() as Number)
return "OK"
}