Refine warning messages for KT-36770

^KT-36770 Fixed
This commit is contained in:
Denis.Zharkov
2022-07-22 19:22:04 +02:00
committed by teamcity
parent 7f7e5c5975
commit 7d6e133c0d
9 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
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?. See https://youtrack.jetbrains.com/issue/KT-36770 for details
compiler/testData/cli/jvm/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
a.bar().hashCode()
^
OK