nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: A collection of miscellaneous commits
[nit.git]
/
tests
/
base_attr4.nit
diff --git
a/tests/base_attr4.nit
b/tests/base_attr4.nit
index
7511824
..
b8f02dc
100644
(file)
--- a/
tests/base_attr4.nit
+++ b/
tests/base_attr4.nit
@@
-22,14
+22,14
@@
class A
end
class B
end
class B
-special A
+ super A
redef var foo: Int = 20
redef var foo: Int = 20
- var bar: Int redef writable = 30
- redef var baz: Int redef writable = 40
+ var bar: Int = 30 is redef writable
+ redef var baz: Int = 40 is redef writable
end
class C
end
class C
-special B
+ super B
redef fun foo: Int do return 100
redef fun bar=(i: Int) do i.output
redef fun baz: Int do return 400
redef fun foo: Int do return 100
redef fun bar=(i: Int) do i.output
redef fun baz: Int do return 400