KT-3395 mapOf function can't be used as literal

#KT-3395 Fixed
This commit is contained in:
Svetlana Isakova
2013-03-13 16:16:28 +04:00
parent 7143393172
commit 1b1ee18f97
4 changed files with 48 additions and 0 deletions
@@ -2170,6 +2170,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/nestedCalls/completeNestedForVariableAsFunctionCall.kt");
}
@TestMetadata("kt3395.kt")
public void testKt3395() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/nestedCalls/kt3395.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/regressions")