nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update NOTICE and LICENSE
[nit.git]
/
tests
/
error_needed_method.nit
diff --git
a/tests/error_needed_method.nit
b/tests/error_needed_method.nit
index
30460d1
..
b9b7ac8
100644
(file)
--- a/
tests/error_needed_method.nit
+++ b/
tests/error_needed_method.nit
@@
-22,8
+22,8
@@
end
interface Discrete
end
interface Discrete
end
-universal Int
-special Discrete
+enum Int
+ super Discrete
end
interface Collection[E]
end
interface Collection[E]
@@
-32,15
+32,15
@@
end
class String
end
class String
end
-universal NativeString
+enum NativeString
end
class Array[E]
end
class Array[E]
-special Collection[E]
+ super Collection[E]
end
class Range[E]
end
class Range[E]
-special Collection[E]
+ super Collection[E]
end
#alt1#var a = [1, 2]
end
#alt1#var a = [1, 2]