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