Create from Usage: Forbid "Create parameter/local variable/property" on label references

#KT-10119 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-26 18:17:24 +03:00
parent 3c87ccc5ff
commit 2dcc38b92f
11 changed files with 77 additions and 13 deletions
@@ -0,0 +1,5 @@
// "Create parameter 'foo'" "false"
// ERROR: Unresolved reference: @foo
fun refer() {
val v = this@<caret>foo
}