Create parameter: Look for containing function if no class is found. Support secondary constructors

#KT-9322 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-28 15:41:09 +03:00
parent 78f7e6b459
commit 2b354cd4db
8 changed files with 102 additions and 25 deletions
@@ -0,0 +1,7 @@
// "Create parameter 'foo'" "true"
class A {
constructor(n: Int) {
val t: Int = <caret>foo
}
}