code: remove `protected` from top-level methods (now in sys)
[nit.git] / tests / error_spe_attr.nit
index 235eef4..5570921 100644 (file)
@@ -15,9 +15,9 @@
 # limitations under the License.
 
 class A
-       var _a: Int
+       var a: Int = 1
 end
 class B
-special A
-       redef var _a: Object
+       super A
+       redef var a: Object = 2
 end