JET-86: Report errors for class objects

This commit is contained in:
Andrey Breslav
2011-06-04 15:32:45 +04:00
parent a1ce9eefb5
commit cc54631209
10 changed files with 92 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
namespace Jet86
~A~class A {
class object {
~A.x~val x = 1
}
}
~B~class B() {
~B.x~val x = 12
}
val a = `A`A.`A.x`x
val c = `B`B.`!null`x
val d = new B().`B.x`x