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

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:22:34 +04:00
parent 6e62212727
commit 5de734c9f3
5 changed files with 7 additions and 7 deletions
@@ -27,5 +27,5 @@ fun test(a : List<Int>, m : Map<String, Int>) {
)
HashMap<Int, Int>().get(0)
if (m.get("") != null)
System.out.println(m.get("").sure().plus(1))
System.out.println(m.get("")!!.plus(1))
}