More override control.

Renderers in errors.
Constructor parameters are not properties unless otherwise specified
This commit is contained in:
Andrey Breslav
2011-09-26 19:39:27 +04:00
parent 7880ba1e3f
commit 292fe08b9d
31 changed files with 357 additions and 143 deletions
@@ -44,7 +44,7 @@
<info>open</info> class Super(i : Int)
class TestPCParameters(w : Int, <info>x</info> : Int, val <info>y</info> : Int, var <info>z</info> : Int) : Super(w) {
class TestPCParameters(w : Int, x : Int, val <info>y</info> : Int, var <info>z</info> : Int) : Super(w) {
val <info>xx</info> = w
@@ -52,6 +52,6 @@ class TestPCParameters(w : Int, <info>x</info> : Int, val <info>y</info> : Int,
w + 1
}
fun foo() = x
fun foo() = <error>x</error>
}