KT-53: Allow generic parameter passing for properties.
Obsolete issue. #KT-53 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
val <T, E> T.foo : E?
|
||||
get() = null
|
||||
|
||||
fun test(): Int? {
|
||||
return 1.foo
|
||||
}
|
||||
@@ -270,6 +270,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/kt310.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt53.kt")
|
||||
public void testKt53() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/kt53.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LValueAssignment.kt")
|
||||
public void testLValueAssignment() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
|
||||
Reference in New Issue
Block a user