[JS IR] Replace calls with invalid type arguments for type parameters with call to errorCode function from runtime.

This commit is contained in:
Zalim Bashorov
2020-12-08 16:52:39 +03:00
parent ff77155b5a
commit df6635085b
5 changed files with 151 additions and 3 deletions
@@ -72,6 +72,11 @@ public class IrJsCodegenBoxErrorTestGenerated extends AbstractIrJsCodegenBoxErro
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");