Deprecate smartcasts on local delegated properties

^KT-22517 Fixed
This commit is contained in:
Dmitry Savvinov
2018-06-21 12:11:47 +03:00
parent 31ce992ff2
commit 70714cb71e
16 changed files with 129 additions and 17 deletions
@@ -18893,6 +18893,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/smartCasts/localClassChanges.kt");
}
@TestMetadata("localDelegatedPropertyAfter.kt")
public void testLocalDelegatedPropertyAfter() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localDelegatedPropertyAfter.kt");
}
@TestMetadata("localDelegatedPropertyBefore.kt")
public void testLocalDelegatedPropertyBefore() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localDelegatedPropertyBefore.kt");
}
@TestMetadata("localFunBetween.kt")
public void testLocalFunBetween() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localFunBetween.kt");
@@ -18893,6 +18893,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/smartCasts/localClassChanges.kt");
}
@TestMetadata("localDelegatedPropertyAfter.kt")
public void testLocalDelegatedPropertyAfter() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localDelegatedPropertyAfter.kt");
}
@TestMetadata("localDelegatedPropertyBefore.kt")
public void testLocalDelegatedPropertyBefore() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localDelegatedPropertyBefore.kt");
}
@TestMetadata("localFunBetween.kt")
public void testLocalFunBetween() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/localFunBetween.kt");