3748507ac1
+JDK was not very helpful
13 lines
283 B
Plaintext
13 lines
283 B
Plaintext
//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
|
|
}
|