nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
calculator: mobile apps use the scientific variant
[nit.git]
/
tests
/
test_boxing.nit
diff --git
a/tests/test_boxing.nit
b/tests/test_boxing.nit
index
e9fc9cf
..
247c591
100644
(file)
--- a/
tests/test_boxing.nit
+++ b/
tests/test_boxing.nit
@@
-18,20
+18,20
@@
# By Flop
class Gene[T]
- readable var _a_ : T
+ var a_ : T
fun a: T
do
- return _a_
+ return a_
end
- init(a:T) do _a_ = a
+ init(a:T) do a_ = a
end
class GeneBool
super Gene[Bool]
fun a=(b: Bool)
do
- _a_ = b
+ a_ = b
end
init(a) do super(a)