diff options
Diffstat (limited to 'plugins/kotlin/idea/tests/testData/inspectionsLocal/overrideDeprecatedMigration/copyDeprecation2.kt')
-rw-r--r-- | plugins/kotlin/idea/tests/testData/inspectionsLocal/overrideDeprecatedMigration/copyDeprecation2.kt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/overrideDeprecatedMigration/copyDeprecation2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/overrideDeprecatedMigration/copyDeprecation2.kt new file mode 100644 index 000000000000..b5f4b9e139c0 --- /dev/null +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/overrideDeprecatedMigration/copyDeprecation2.kt @@ -0,0 +1,10 @@ +// WITH_STDLIB + +open class Base { + @Deprecated("Don't use", level = DeprecationLevel.ERROR) + open fun foo() {} +} + +class Derived : Base() { + override fun <caret>foo() {} +} |