3d8d92c7d3
- test data files renamed from *.jet to *.kt
13 lines
283 B
Kotlin
13 lines
283 B
Kotlin
//KT-1270 Poor highlighting when trying to dereference a nullable reference
|
|
|
|
package kt1270
|
|
|
|
fun foo() {
|
|
val sc = java.util.HashMap<String, SomeClass>()[""]
|
|
val <!UNUSED_VARIABLE!>value<!> = sc<!UNSAFE_CALL!>.<!>value
|
|
}
|
|
|
|
private class SomeClass() {
|
|
val value : Int = 5
|
|
}
|