KT-948 Make type inference work with sure()/!!

!! part fixed
This commit is contained in:
Svetlana Isakova
2012-08-01 17:02:31 +04:00
parent 4e0a9f2af6
commit 6d9529e826
4 changed files with 72 additions and 23 deletions
@@ -30,6 +30,6 @@ fun main(args : Array<String>) {
}
}
val <!UNUSED_VARIABLE!>f<!> : String = <!TYPE_MISMATCH!>a<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!><!>
val <!UNUSED_VARIABLE!>f<!> : String = <!TYPE_MISMATCH!>a<!><!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>
<!TYPE_MISMATCH!>a<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!><!> : String
}