Add test for KT-6240: create custom renderer for generic class
#KT-6240 Open
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// KT-6240
|
||||
class <caret>A<T> {
|
||||
fun foo(t: T)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
this.foo(<error descr="[TYPE_MISMATCH] Type mismatch: inferred type is kotlin.String but T was expected">"a"</error>)
|
||||
+6
@@ -63,6 +63,12 @@ public class CodeFragmentHighlightingTestGenerated extends AbstractCodeFragmentH
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("classHeaderWithTypeArguments.kt")
|
||||
public void testClassHeaderWithTypeArguments() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/checker/codeFragments/classHeaderWithTypeArguments.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("contextElementAsStatement.kt")
|
||||
public void testContextElementAsStatement() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/checker/codeFragments/contextElementAsStatement.kt");
|
||||
|
||||
Reference in New Issue
Block a user