nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: `all` generate manpages as `pandoc` is no more required
[nit.git]
/
tests
/
base_gen2.nit
diff --git
a/tests/base_gen2.nit
b/tests/base_gen2.nit
index
f709c37
..
12636be
100644
(file)
--- a/
tests/base_gen2.nit
+++ b/
tests/base_gen2.nit
@@
-16,7
+16,7
@@
import end
import end
-class Object
+interface Object
fun output is abstract
end
fun output is abstract
end
@@
-30,7
+30,7
@@
end
class B[E]
redef fun output do _e.output
class B[E]
redef fun output do _e.output
- var _e: E
+ var e: E
init(e: E) do _e = e
end
init(e: E) do _e = e
end
@@
-40,8
+40,8
@@
class C[F, G]
_f.output
_g.output
end
_f.output
_g.output
end
- var _f: F
- var _g: G
+ var f: F
+ var g: G
init(f: F, g: G)
do
_f = f
init(f: F, g: G)
do
_f = f