KT-21698 Create interface shouldn't suggest to declare it inside a class which implements it

This commit is contained in:
Toshiaki Kameyama
2017-12-21 00:27:43 +09:00
committed by Dmitry Jemerov
parent 1deed28464
commit 411feab9ae
4 changed files with 32 additions and 2 deletions
@@ -0,0 +1,7 @@
// "Create interface 'A'" "true"
package p
// TARGET_PARENT:
class Foo: <caret>A {
}
@@ -0,0 +1,11 @@
// "Create interface 'A'" "true"
package p
// TARGET_PARENT:
class Foo: A {
}
interface A {
}