Changed containing declaration for PropertyDeclarationInnerScope

This commit is contained in:
Stanislav Erokhin
2015-02-03 21:09:49 +03:00
parent 49b77a1523
commit 3b92cab9e0
13 changed files with 48 additions and 49 deletions
@@ -42,12 +42,12 @@
<info>open</info> class Super(<warning>i</warning> : Int)
class TestPCParameters(w : Int, <warning>x</warning> : Int, val <info>y</info> : Int, var <info>z</info> : Int) : Super(w) {
class TestPCParameters(<info>w</info> : Int, <warning>x</warning> : Int, val <info>y</info> : Int, var <info>z</info> : Int) : Super(<info>w</info>) {
val <info>xx</info> = w
val <info>xx</info> = <info descr="Value captured in a closure">w</info>
<info>init</info> {
w + 1
<info>w</info> + 1
}
fun foo() = <error>x</error>