Replaced sure() invocations with '!!' operator in libraries written on Kotlin.

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:13:36 +04:00
parent 533cc5a04d
commit 8e1323bb43
47 changed files with 164 additions and 164 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ fun parseAtomic(tokens : Deque<Token>) : ParseResult<Expression> {
else
Failure("Expecting ')'")
}
is Number -> Success(Num(Integer.parseInt((token as Token).text).sure()))
is Number -> Success(Num(Integer.parseInt((token as Token).text)!!))
else -> Failure("Unexpected EOF")
}
}