Files
kotlin-fork/compiler/testData/codegen/regressions/kt756.jet
T
2011-12-20 22:56:13 +04:00

12 lines
334 B
Plaintext

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