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
+1 -1
View File
@@ -157,7 +157,7 @@ abstract class B1(
class B2() : B1(1, "r") {}
abstract class B3(i: Int) {
this(): this(1)
<warning>this(): this(1)</warning>
}
fun foo(<warning>a</warning>: B3) {