nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8969b
)
syntax: remove AbsSyntaxVisitor::type_collection
author
Jean Privat
<jean@pryen.org>
Fri, 25 Mar 2011 01:41:53 +0000
(21:41 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 31 Mar 2011 14:58:12 +0000
(10:58 -0400)
With the new for, Collection is no more a primitive class.
Signed-off-by: Jean Privat <jean@pryen.org>
src/syntax/syntax_base.nit
patch
|
blob
|
history
diff --git
a/src/syntax/syntax_base.nit
b/src/syntax/syntax_base.nit
index
6b9bdc0
..
6d9bf07
100644
(file)
--- a/
src/syntax/syntax_base.nit
+++ b/
src/syntax/syntax_base.nit
@@
-338,12
+338,6
@@
class AbsSyntaxVisitor
return get_type_by_name(once ("String".to_symbol))
end
- # The primitive type Collection[nullable Object]
- fun type_collection: MMType
- do
- return get_instantiated_type_by_name(once ("Collection".to_symbol), [type_object.as_nullable])
- end
-
# The primitive type NativeString
fun type_nativestring: MMType
do