0775748aa9
Thus, KT-55586 is being postponed, too. The reasoning behind this change is that the language-committee issue has not been approved yet, so new annotation package can't be enabled by default, but it seems that it doesn't make sense having a different behavior for the old one but at least that would make them work consistently, so we postpone them, too.
8 lines
290 B
Plaintext
Vendored
8 lines
290 B
Plaintext
Vendored
compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
|
|
a.foo(null)
|
|
^
|
|
compiler/testData/cli/jvm/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
|
|
a.bar().hashCode()
|
|
^
|
|
OK
|