Rename: Report redeclaration conflict between class and type alias
#KT-22751 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
actual typealias Foo = Foo
|
||||
|
||||
class Foo
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
actual typealias /*rename*/A = Foo
|
||||
|
||||
class Foo
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test.kt",
|
||||
"newName": "Foo",
|
||||
"withRuntime": "true",
|
||||
"hint": "Class 'Foo' is already declared in package"
|
||||
}
|
||||
Reference in New Issue
Block a user