KT-1531 Frontend should prohibit secondary constructors

# KT-1531 Fixed
This commit is contained in:
Svetlana Isakova
2012-03-27 17:48:04 +04:00
parent 406933557b
commit a91a53f7f1
22 changed files with 53 additions and 52 deletions
@@ -7,12 +7,12 @@
this : Foo
}
this(var bar : Int) : this(1, 1, 1) {
<warning>this(var bar : Int) : this(1, 1, 1) {
bar = <warning>1</warning>
this.bar
1 : Int
val <warning>a</warning> : Int =1
this : Foo
}
}</warning>
}