nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core/text: fix input type in `replace`
[nit.git]
/
tests
/
example_beer.nit
diff --git
a/tests/example_beer.nit
b/tests/example_beer.nit
index
9380c88
..
3d99198
100644
(file)
--- a/
tests/example_beer.nit
+++ b/
tests/example_beer.nit
@@
-29,7
+29,7
@@
private
end
class OneBottle
end
class OneBottle
-special Bottle
+ super Bottle
redef fun sing
do
sing_start
redef fun sing
do
sing_start
@@
-45,7
+45,7
@@
special Bottle
end
class TwoBottles
end
class TwoBottles
-special Bottle
+ super Bottle
redef fun sing
do
sing_start
redef fun sing
do
sing_start
@@
-61,7
+61,7
@@
special Bottle
end
class Bottles
end
class Bottles
-special Bottle
+ super Bottle
redef fun sing
do
redef fun sing
do
@@
-79,7
+79,7
@@
special Bottle
_quantity = i
end
_quantity = i
end
- var _quantity: Int
+ var quantity: Int
end
var i = 99
end
var i = 99