[Test] Support RENDER_DIAGNOSTICS_FULL_TEXT directive for FIR tests

This commit is contained in:
Brian Norman
2023-06-01 09:27:06 -05:00
committed by Space Team
parent 22a5dd7f29
commit 48484368c7
30 changed files with 174 additions and 1 deletions
@@ -0,0 +1,7 @@
/exceptionFromInterpreter_ir.kt:(174,179): warning: Division by zero
/exceptionFromInterpreter_ir.kt:(205,210): warning: Division by zero
/exceptionFromInterpreter_ir.kt:(243,264): error: Const 'val' initializer should be a constant value
/exceptionFromInterpreter_ir.kt:(313,318): warning: Division by zero
@@ -0,0 +1 @@
/test.kt:(154,158): error: Overload resolution ambiguity between candidates: [static field SOME: String = String(Some), static enum entry SOME: SomeEnum]
@@ -0,0 +1 @@
/test.kt:(160,164): error: Overload resolution ambiguity between candidates: [static field SOME: String = String(Some), static enum entry SOME: SomeEnum]
@@ -0,0 +1 @@
/kt47986Default.fir.kt:(175,183): error: Not enough information to infer type variable K
@@ -0,0 +1 @@
/kt47986Disabled.fir.kt:(249,257): error: Not enough information to infer type variable K
@@ -0,0 +1 @@
/kt47986_2.fir.kt:(187,195): error: Not enough information to infer type variable K
@@ -0,0 +1 @@
/kt47986_3.fir.kt:(181,189): error: Not enough information to infer type variable K
@@ -0,0 +1 @@
/kt51464.fir.kt:(298,307): error: Not enough information to infer type variable R
@@ -0,0 +1 @@
/kt45461.kt:(245,252): warning: Type argument for a type parameter S can't be inferred because it has incompatible upper bounds: kotlin/String, kotlin/Int (multiple incompatible classes). This will become an error in a future release
@@ -0,0 +1 @@
/kt45461_12.kt:(296,303): warning: Type argument for a type parameter S can't be inferred because it has incompatible upper bounds: kotlin/String, K (multiple incompatible classes: kotlin/String, kotlin/Number). This will become an error in a future release
@@ -0,0 +1,3 @@
/kt45461_2.kt:(253,260): warning: Type argument for a type parameter S can't be inferred because it has incompatible upper bounds: kotlin/String, K (multiple incompatible classes: kotlin/String, kotlin/Int). This will become an error in a future release
/kt45461_2.kt:(198,201): warning: 'kotlin/Int' is a final type, and thus a value of the type parameter is predetermined
@@ -0,0 +1,5 @@
/kt45461_25.fir.kt:(176,180): warning: Unchecked cast: kotlin/Nothing? to S
/kt45461_25.fir.kt:(276,283): error: Type argument for a type parameter S can't be inferred because it has incompatible upper bounds: kotlin/String, K (multiple incompatible classes: kotlin/String, kotlin/Int)
/kt45461_25.fir.kt:(206,209): warning: 'kotlin/Int' is a final type, and thus a value of the type parameter is predetermined
@@ -0,0 +1,3 @@
/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
@@ -0,0 +1 @@
/kt45461_5.kt:(269,276): warning: Type argument for a type parameter S can't be inferred because it has incompatible upper bounds: kotlin/String, K (multiple incompatible classes: kotlin/String, kotlin/Number). This will become an error in a future release
@@ -0,0 +1,5 @@
/kt48765.kt:(282,285): warning: Type argument for a type parameter T can't be inferred because it has incompatible upper bounds: kotlin/String, kotlin/Number (multiple incompatible classes). This will become an error in a future release
/kt48765.kt:(379,383): warning: Unchecked cast: kotlin/String to T
/kt48765.kt:(345,351): warning: 'kotlin/String' is a final type, and thus a value of the type parameter is predetermined
@@ -0,0 +1 @@
/kt48935.kt:(240,262): warning: Type argument for a type parameter T has possible incompatible upper bounds: Base, DoesNotImplementBase (final class and interface)
@@ -0,0 +1 @@
/kt49661.kt:(251,252): warning: Type argument for a type parameter T can't be inferred because it has incompatible upper bounds: Foo, kotlin/Int (multiple incompatible classes). This will become an error in a future release
@@ -0,0 +1 @@
/selectFromCovariantAndContravariantTypes.kt:(335,344): warning: Type argument for a type parameter V can't be inferred because it has incompatible upper bounds: A, B (multiple incompatible classes). This will become an error in a future release
@@ -0,0 +1,3 @@
/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
@@ -0,0 +1,3 @@
/main.kt:(72,80): error: 'takeV' overrides nothing
/main.kt:(137,145): error: 'takeVList' overrides nothing
@@ -0,0 +1,3 @@
/B.kt:(133,134): error: Smart cast to 'kotlin/String' is impossible, because 'this@R|/Derived|.R|/Base.x|' is a public API property declared in different module
/B.kt:(265,268): error: Smart cast to 'kotlin/String' is impossible, because 'R|<local>/i|.R|/Base.x|' is a public API property declared in different module
@@ -0,0 +1,7 @@
/labelClashes.fir.kt:(84,87): error: Unresolved reference: inc
/labelClashes.fir.kt:(151,154): error: Unresolved reference: inc
/labelClashes.fir.kt:(268,271): error: Unresolved reference: foo
/labelClashes.fir.kt:(331,334): error: Unresolved reference: foo
@@ -0,0 +1 @@
/upperBoundViolated2.fir.kt:(111,123): error: Type argument is not within its bounds: should be subtype of 'kotlin/collections/List<kotlin/CharSequence>'