K2: add ConeKotlinType argument for NULL_FOR_NONNULL_TYPE

This commit is contained in:
Mikhail Glukhikh
2023-06-22 16:45:05 +02:00
committed by Space Team
parent 9d9d7880af
commit 17da09bf17
14 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ compiler/testData/cli/jvm/firLightTree.kt:3:15: error: classifier 'class System
compiler/testData/cli/jvm/firLightTree.kt:3:15: error: variable expected
java.lang.System = null
^
compiler/testData/cli/jvm/firLightTree.kt:3:24: error: null can not be a value of a non-null type
compiler/testData/cli/jvm/firLightTree.kt:3:24: error: null can not be a value of a non-null type 'kotlin/Unit'
java.lang.System = null
^
COMPILATION_ERROR
+1 -1
View File
@@ -8,7 +8,7 @@ compiler/testData/cli/jvm/firLightTree.kt:3:15: error: classifier 'class System
compiler/testData/cli/jvm/firLightTree.kt:3:15: error: variable expected
java.lang.System = null
^
compiler/testData/cli/jvm/firLightTree.kt:3:24: error: null can not be a value of a non-null type
compiler/testData/cli/jvm/firLightTree.kt:3:24: error: null can not be a value of a non-null type 'kotlin/Unit'
java.lang.System = null
^
COMPILATION_ERROR