K1: implement warning for upper bound violated in type alias constructors
Partially implements KT-47473
This commit is contained in:
+6
@@ -39187,6 +39187,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
public void testUpperBoundViolated() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/typealias/upperBoundViolated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("upperBoundViolated2.kt")
|
||||
public void testUpperBoundViolated2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/typealias/upperBoundViolated2.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user