K2: render types in quotes in diagnostic messages
This commit is contained in:
committed by
Space Team
parent
c839cd3c11
commit
9d9d7880af
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt45461_25.fir.kt:(176,180): warning: Unchecked cast: kotlin/Nothing? to S
|
||||
/kt45461_25.fir.kt:(176,180): warning: Unchecked cast: 'kotlin/Nothing?' to 'S'
|
||||
|
||||
/kt45461_25.fir.kt:(206,209): warning: 'kotlin/Int' is a final type, and thus a value of the type parameter is predetermined
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
/kt45461_26.fir.kt:(176,180): warning: Unchecked cast: kotlin/Nothing? to S
|
||||
/kt45461_26.fir.kt:(176,180): warning: Unchecked cast: 'kotlin/Nothing?' to 'S'
|
||||
|
||||
/kt45461_26.fir.kt:(224,232): warning: 'Out<kotlin/Int>' is a final type, and thus a value of the type parameter is predetermined
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
/kt48765.kt:(345,351): warning: 'kotlin/String' is a final type, and thus a value of the type parameter is predetermined
|
||||
|
||||
/kt48765.kt:(379,383): warning: Unchecked cast: kotlin/String to T
|
||||
/kt48765.kt:(379,383): warning: Unchecked cast: 'kotlin/String' to 'T'
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
/main.kt:(98,103): error: Argument type mismatch: actual type is V but @EnhancedNullability V & Any was expected
|
||||
/main.kt:(98,103): error: Argument type mismatch: actual type is 'V' but '@EnhancedNullability V & Any' was expected
|
||||
|
||||
/main.kt:(119,120): error: Argument type mismatch: actual type is kotlin/collections/List<V> but ft<@EnhancedNullability kotlin/collections/MutableList<@EnhancedNullability V & Any>, @EnhancedNullability kotlin/collections/List<@EnhancedNullability V & Any>> was expected
|
||||
/main.kt:(119,120): error: Argument type mismatch: actual type is 'kotlin/collections/List<V>' but 'ft<@EnhancedNullability kotlin/collections/MutableList<@EnhancedNullability V & Any>, @EnhancedNullability kotlin/collections/List<@EnhancedNullability V & Any>>' was expected
|
||||
|
||||
/main.kt:(133,138): error: Argument type mismatch: actual type is V but @EnhancedNullability E & Any was expected
|
||||
/main.kt:(133,138): error: Argument type mismatch: actual type is 'V' but '@EnhancedNullability E & Any' was expected
|
||||
|
||||
/main.kt:(154,155): error: Argument type mismatch: actual type is kotlin/collections/List<V> but ft<@EnhancedNullability kotlin/collections/MutableList<@EnhancedNullability E & Any>, @EnhancedNullability kotlin/collections/List<@EnhancedNullability E & Any>> was expected
|
||||
/main.kt:(154,155): error: Argument type mismatch: actual type is 'kotlin/collections/List<V>' but 'ft<@EnhancedNullability kotlin/collections/MutableList<@EnhancedNullability E & Any>, @EnhancedNullability kotlin/collections/List<@EnhancedNullability E & Any>>' was expected
|
||||
|
||||
Reference in New Issue
Block a user