Create From Usage: Support EXPRESSION_EXPECTED_PACKAGE_FOUND diagnostic
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Create function 'foo' from usage" "true"
|
||||
|
||||
package foo
|
||||
|
||||
fun test() {
|
||||
foo(2, "2")
|
||||
}
|
||||
|
||||
fun foo(i: Int, s: String) {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Create function 'foo' from usage" "true"
|
||||
|
||||
package foo
|
||||
|
||||
fun test() {
|
||||
<caret>foo(2, "2")
|
||||
}
|
||||
Reference in New Issue
Block a user