nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core/math: add basic Bézier interpolations on Float
[nit.git]
/
tests
/
test_multiconstraint_inh.nit
diff --git
a/tests/test_multiconstraint_inh.nit
b/tests/test_multiconstraint_inh.nit
index
d924a05
..
a3ec367
100644
(file)
--- a/
tests/test_multiconstraint_inh.nit
+++ b/
tests/test_multiconstraint_inh.nit
@@
-20,23
+20,23
@@
class A
end
class I[F]
end
class I[F]
- meth foo do 1.output end
+ fun foo do 1.output end
end
class J
end
class J
-special I[A]
- meth bar do 2.output end
+ super I[A]
+ fun bar do 2.output end
init do end
end
class G[E]
init do end
end
class G[E]
- meth baz(e: I[E]) do e.foo end
+ fun baz(e: I[E]) do e.foo end
end
class H[F]
end
class H[F]
-special G[A]
- redef meth baz(e: J) do e.bar end
+ super G[A]
+ redef fun baz(e: J) do e.bar end
init do end
end
init do end
end