Move/Copy: Fix 'protected' conflict reporting for references in super type entries

#KT-22678 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-19 17:18:39 +03:00
parent 27f5ddcf83
commit 883558a4c7
19 changed files with 67 additions and 2 deletions
@@ -0,0 +1,5 @@
package bar
import foo.TestBase
class Test(name: String) : TestBase(name)
@@ -0,0 +1,5 @@
package foo;
public class TestBase {
protected TestBase(final String test) {}
}
@@ -0,0 +1,3 @@
package foo
class <caret>Test(name: String) : TestBase(name)
@@ -0,0 +1,5 @@
package foo;
public class TestBase {
protected TestBase(final String test) {}
}
@@ -0,0 +1,5 @@
{
"mainFile": "foo/Test.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "bar"
}