Create From Usage: Support EXPRESSION_EXPECTED_PACKAGE_FOUND diagnostic

This commit is contained in:
Alexey Sedunov
2014-10-07 18:18:35 +04:00
parent c73c581b11
commit 2e6d4b3501
11 changed files with 104 additions and 3 deletions
@@ -0,0 +1,8 @@
// "Create parameter 'foo'" "true"
package foo
fun test(n: Int,
foo: Int) {
val t: Int = foo
}
@@ -0,0 +1,7 @@
// "Create parameter 'foo'" "true"
package foo
fun test(n: Int) {
val t: Int = <caret>foo
}