Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / error_spe_attr.nit
index 7c4610c..00e43b6 100644 (file)
 # limitations under the License.
 
 class A
-       attr _a: Int
+       var a: Int = 1
 end
 class B
-special A
-       redef attr _a: Object
+       super A
+       redef var a: Object = 2
 end
+
+var b = new B
+b.a.output