KT-650 Prohibit creating class without constructor

This commit is contained in:
svtk
2012-01-24 15:41:38 +04:00
parent ee5fcccda9
commit 70d0cd882b
43 changed files with 170 additions and 218 deletions
@@ -1,4 +1,4 @@
class <error>X</error> {
class X {
val <error>x</error> : Int
}
@@ -10,5 +10,5 @@ class Y1 {
val x : Int get() = 1
}
class Z : Y<error>()</error> {
class Z : Y() {
}