Added error 'public member should specify type' and quick fix

This commit is contained in:
svtk
2011-10-04 14:48:19 +04:00
parent 29e76fda51
commit bdf4173680
21 changed files with 203 additions and 32 deletions
@@ -1,5 +1,5 @@
class Outer() {
public val s = "xyzzy"
val s = "xyzzy"
open class InnerBase(public val name: String) {
}
@@ -7,7 +7,7 @@ class Outer() {
class InnerDerived(): InnerBase(s) {
}
public val x = InnerDerived()
val x = InnerDerived()
}
fun box() : String {