nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metamodel: rename 'universal' to 'enum'
[nit.git]
/
tests
/
test_variance_param.nit
diff --git
a/tests/test_variance_param.nit
b/tests/test_variance_param.nit
index
00009d2
..
9a13498
100644
(file)
--- a/
tests/test_variance_param.nit
+++ b/
tests/test_variance_param.nit
@@
-26,7
+26,7
@@
class A
end
class B
end
class B
-special A
+ super A
redef type T: B
redef type U: Int
redef fun foo(a: T) do a.out
redef type T: B
redef type U: Int
redef fun foo(a: T) do a.out
@@
-38,7
+38,7
@@
special A
end
redef class Int
end
redef class Int
-special B
+ super B
redef type T: Int
redef fun foo(a: T) do a.out
redef fun bar(b: U) do b.out
redef type T: Int
redef fun foo(a: T) do a.out
redef fun bar(b: U) do b.out