Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations

#KT-6023 Fixed
This commit is contained in:
Alexey Sedunov
2015-02-16 14:04:09 +03:00
parent 41a4dd4128
commit 97b0f50d35
55 changed files with 141 additions and 113 deletions
@@ -1,5 +1,5 @@
// "Create class 'Foo'" "false"
// ACTION: Create function 'Foo'
// ACTION: Create extension function 'Foo'
// ACTION: Replace with infix function call
// ACTION: Split property declaration
// ERROR: Unresolved reference: Foo
@@ -1,5 +1,5 @@
// "Create class 'Foo'" "false"
// ACTION: Create function 'Foo'
// ACTION: Create extension function 'Foo'
// ACTION: Convert to expression body
// ERROR: Unresolved reference: Foo
@@ -1,5 +1,5 @@
// "Create class 'Foo'" "false"
// ACTION: Create function 'Foo'
// ACTION: Create extension function 'Foo'
// ERROR: Unresolved reference: Foo
class A<T>(val items: List<T>) {