nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: remove all option to the compiler
[nit.git]
/
tests
/
test_boxing.nit
diff --git
a/tests/test_boxing.nit
b/tests/test_boxing.nit
index
6501016
..
8683131
100644
(file)
--- a/
tests/test_boxing.nit
+++ b/
tests/test_boxing.nit
@@
-18,8
+18,8
@@
# By Flop
class Gene[T]
- readable attr _a_ : T
- meth a: T
+ readable var _a_ : T
+ fun a: T
do
return _a_
end
@@
-27,8
+27,9
@@
class Gene[T]
init do end
end
-class GeneBool special Gene[Bool]
- meth a=(b: Bool)
+class GeneBool
+ super Gene[Bool]
+ fun a=(b: Bool)
do
_a_ = b
end