KT-418 Make 1.?plus(2) have type Int
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// http://youtrack.jetbrains.net/issue/KT-418
|
||||
|
||||
fun ff() {
|
||||
val i: Int = 1
|
||||
val a: Int = i<!UNNECESSARY_SAFE_CALL!>?.<!>plus(2)
|
||||
}
|
||||
Reference in New Issue
Block a user