JET-6 Perform checks for primary and secondary constructors (In progress)

This commit is contained in:
Andrey Breslav
2011-04-26 17:00:07 +04:00
parent ca66b2fdbd
commit d23a76b64d
23 changed files with 406 additions and 169 deletions
+2 -2
View File
@@ -12,11 +12,11 @@
val p : Int = <error>1</error>
get() = 1
class Test {
class Test() {
var a : Int
var b : Int get() = <error>$a</error>; set(x) {a = x; <error>$a</error> = x}
this() {
this(i : Int) : this() {
<error>$b</error> = $a
$a = <error>$b</error>
a = <error>$b</error>