Move/Copy: Fix 'protected' conflict reporting for references in super type entries
#KT-22678 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
import foo.TestBase
|
||||
|
||||
class Test(name: String) : TestBase(name)
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
package foo
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
public class TestBase {
|
||||
protected TestBase(final String test) {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class <caret>Test(name: String) : TestBase(name)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
public class TestBase {
|
||||
protected TestBase(final String test) {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "foo/Test.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "bar"
|
||||
}
|
||||
Reference in New Issue
Block a user