Do not offer to convert to infix call when calling non-infix function
This commit is contained in:
Vendored
-1
@@ -1,6 +1,5 @@
|
||||
// "Create class 'Foo'" "false"
|
||||
// ACTION: Create extension function 'Foo'
|
||||
// ACTION: Replace with infix function call
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
fun test() {
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
// "Create member function 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Replace with infix function call
|
||||
// ERROR: Unresolved reference: x
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Create extension function 'bar'
|
||||
// ACTION: Create member function 'bar'
|
||||
// ACTION: Replace with infix function call
|
||||
// ERROR: Unresolved reference: bar
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user