Commit 940b9120 authored by Roman Golyshev's avatar Roman Golyshev Committed by intellij-monorepo-bot
Browse files

FIR IDE: Add test for reference shortener when some generic parameter is missing

See 14452661cce44f75ab0683aa0462ce396416a053 in kotlin repo

GitOrigin-RevId: 353d0454d189b53cd0ba2842f3198545c9f0e638
parent ea54ced2
Showing with 21 additions and 0 deletions
+21 -0
......@@ -235,6 +235,11 @@ public abstract class FirShortenRefsTestGenerated extends AbstractFirShortenRefs
runTest("../idea/tests/testData/shortenRefsFir/types/ParameterTypeGenericTypes.kt");
}
@TestMetadata("ParameterTypeGenericTypes_missingTypeArgumentError.kt")
public void testParameterTypeGenericTypes_missingTypeArgumentError() throws Exception {
runTest("../idea/tests/testData/shortenRefsFir/types/ParameterTypeGenericTypes_missingTypeArgumentError.kt");
}
@TestMetadata("ParameterTypeImplicitImportBeatsStarImport.kt")
public void testParameterTypeImplicitImportBeatsStarImport() throws Exception {
runTest("../idea/tests/testData/shortenRefsFir/types/ParameterTypeImplicitImportBeatsStarImport.kt");
......
// FIR_COMPARISON
package test
class GenericParam
class Generic<T, TT>
<selection>fun foo(t: test.Generic<test.GenericParam>) {}</selection>
// FIR_COMPARISON
package test
class GenericParam
class Generic<T, TT>
fun foo(t: Generic<GenericParam>) {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment