K2: render types in quotes in diagnostic messages

This commit is contained in:
Mikhail Glukhikh
2023-07-11 11:12:34 +02:00
committed by Space Team
parent c839cd3c11
commit 9d9d7880af
18 changed files with 64 additions and 64 deletions
@@ -2,7 +2,7 @@ warning: language version 2.0 is experimental, there are no backwards compatibil
compiler/testData/cli/jvm/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: unresolved reference: NullPointerException
throw NullPointerException()
^
compiler/testData/cli/jvm/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: type mismatch: inferred type is ERROR CLASS: Unresolved name: NullPointerException but kotlin/Throwable was expected
compiler/testData/cli/jvm/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: type mismatch: inferred type is 'ERROR CLASS: Unresolved name: NullPointerException' but 'kotlin/Throwable' was expected
throw NullPointerException()
^
COMPILATION_ERROR