Create From Usage: Do not fail on qualifier receiver when it doesn't have type
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Create function 'foo' from usage" "false"
|
||||
// ACTION: Replace with infix function call
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
fun test() {
|
||||
val a: Int = A.<caret>foo(2)
|
||||
}
|
||||
Reference in New Issue
Block a user