KT-14282 No error on unused type alias with -language-version 1.0

Always resolve descriptors for type aliases.
This commit is contained in:
Dmitry Petrov
2016-10-11 11:45:40 +03:00
parent 206374cd17
commit 2cd6b1d586
11 changed files with 28 additions and 13 deletions
@@ -271,6 +271,12 @@ public class CliTestGenerated extends AbstractCliTest {
doJvmTest(fileName);
}
@TestMetadata("unsupportedTypeAlias.args")
public void testUnsupportedTypeAlias() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/unsupportedTypeAlias.args");
doJvmTest(fileName);
}
@TestMetadata("version.args")
public void testVersion() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/version.args");