nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: add engine `nitg-sg` for --semi-global
[nit.git]
/
tests
/
base_gen_f.nit
diff --git
a/tests/base_gen_f.nit
b/tests/base_gen_f.nit
index
57d0c70
..
5d5cb4b
100644
(file)
--- a/
tests/base_gen_f.nit
+++ b/
tests/base_gen_f.nit
@@
-17,16
+17,16
@@
import kernel
class G[E: G[E]]
import kernel
class G[E: G[E]]
- meth ide(e: E): E
+ fun ide(e: E): E
do
return e
end
do
return e
end
- meth foo is abstract
+ fun foo is abstract
end
class G1
end
class G1
-special G[G1]
- redef meth foo
+ super G[G1]
+ redef fun foo
do
1.output
end
do
1.output
end
@@
-35,8
+35,8
@@
special G[G1]
end
class G2
end
class G2
-special G[G2]
- redef meth foo
+ super G[G2]
+ redef fun foo
do
2.output
end
do
2.output
end