KT-53: Allow generic parameter passing for properties.

Obsolete issue.

 #KT-53 Fixed
This commit is contained in:
Pavel V. Talanov
2012-07-25 14:48:40 +04:00
parent fd78340897
commit cd1ca92f74
2 changed files with 11 additions and 0 deletions
@@ -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");