'Nothing' as function return type and property type can't be abbreviated.

This commit is contained in:
Dmitry Petrov
2016-06-10 13:44:55 +03:00
parent 0ff677596f
commit bee1762b0e
6 changed files with 27 additions and 1 deletions
@@ -19605,6 +19605,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("returnTypeNothingShouldBeSpecifiedExplicitly.kt")
public void testReturnTypeNothingShouldBeSpecifiedExplicitly() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/returnTypeNothingShouldBeSpecifiedExplicitly.kt");
doTest(fileName);
}
@TestMetadata("simpleTypeAlias.kt")
public void testSimpleTypeAlias() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/simpleTypeAlias.kt");