nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: add `error_names` and extends the `names` hierarchy
[nit.git]
/
tests
/
error_spe_attr.nit
diff --git
a/tests/error_spe_attr.nit
b/tests/error_spe_attr.nit
index
235eef4
..
00e43b6
100644
(file)
--- a/
tests/error_spe_attr.nit
+++ b/
tests/error_spe_attr.nit
@@
-15,9
+15,12
@@
# 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
+
+var b = new B
+b.a.output