Presentation: Render function signature in RefactoringDescriptionLocation
#KT-12943 Fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// SHOULD_FAIL_WITH: Function foo already exists
|
||||
// SHOULD_FAIL_WITH: Function foo() on A already exists
|
||||
class A(val n: Int) {
|
||||
val <caret>foo: Boolean = n > 1
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SHOULD_FAIL_WITH: Function <b><code>foo</code></b> is overridden by declaration(s) in a subclass
|
||||
// SHOULD_FAIL_WITH: Function <b><code>foo()</code></b> is overridden by declaration(s) in a subclass
|
||||
open class A {
|
||||
open fun <caret>foo() {
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Function length will no longer be accessible after signature change
|
||||
Function length() will no longer be accessible after signature change
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Function foo.bar will no longer be accessible after extraction
|
||||
Function foo.bar() will no longer be accessible after extraction
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Function foo.bar will no longer be accessible after extraction
|
||||
Function foo.bar() will no longer be accessible after extraction
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Function A.unresolved will no longer be accessible after extraction
|
||||
Function A.unresolved() on B will no longer be accessible after extraction
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Class Test uses class Foo which will be inaccessible after move
|
||||
Class Test uses function foo() which will be inaccessible after move
|
||||
Class Test uses function foo(Foo) which will be inaccessible after move
|
||||
Method bar() uses class Test which will be inaccessible after move
|
||||
Variable t uses class Test which will be inaccessible after move
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Function bar() uses function test() which will be inaccessible after move
|
||||
Function test() uses class Foo which will be inaccessible after move
|
||||
Function test() uses function foo() which will be inaccessible after move
|
||||
Function test() uses function foo(Foo) which will be inaccessible after move
|
||||
Method bar() uses function test() which will be inaccessible after move
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Method bar() uses object Test which will be inaccessible after move
|
||||
Object Test uses class Foo which will be inaccessible after move
|
||||
Object Test uses function foo() which will be inaccessible after move
|
||||
Object Test uses function foo(Foo) which will be inaccessible after move
|
||||
Variable t uses object Test which will be inaccessible after move
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Function bar() uses property test which will be inaccessible after move
|
||||
Method bar() uses property test which will be inaccessible after move
|
||||
Property test uses class Foo which will be inaccessible after move
|
||||
Property test uses function foo() which will be inaccessible after move
|
||||
Property test uses function foo(Foo) which will be inaccessible after move
|
||||
+1
-1
@@ -1 +1 @@
|
||||
function test.foo has 1 usage that is not safe to delete.
|
||||
function test.foo() has 1 usage that is not safe to delete.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
function test.foo has 1 usage that is not safe to delete.
|
||||
function test.foo() on B has 1 usage that is not safe to delete.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
function foo.bar has 1 usage that is not safe to delete.
|
||||
function foo.bar() has 1 usage that is not safe to delete.
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
function foo.bar has 1 usage that is not safe to delete.
|
||||
function foo.bar() on String has 1 usage that is not safe to delete.
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
function test.foo has 1 usage that is not safe to delete.
|
||||
function test.foo() on String has 1 usage that is not safe to delete.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
constructor B has 5 usages that are not safe to delete.
|
||||
constructor B(Int) has 5 usages that are not safe to delete.
|
||||
Reference in New Issue
Block a user