Test: arguments of type aliases should be substituted literally,
without type approximation. TYPE_MISMATCH is an expected error.
This commit is contained in:
@@ -19563,6 +19563,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("noApproximationInTypeAliasArgumentSubstitution.kt")
|
||||
public void testNoApproximationInTypeAliasArgumentSubstitution() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/noApproximationInTypeAliasArgumentSubstitution.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("noRHS.kt")
|
||||
public void testNoRHS() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/noRHS.kt");
|
||||
|
||||
Reference in New Issue
Block a user