Replaced sure() invocations with '!!' operator in codegen tests.

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:18:58 +04:00
parent ffc4792071
commit 6e62212727
17 changed files with 26 additions and 26 deletions
@@ -1,9 +1,9 @@
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 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