nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
metamodel: add nullable static types
[nit.git]
/
src
/
syntax
/
mmbuilder.nit
diff --git
a/src/syntax/mmbuilder.nit
b/src/syntax/mmbuilder.nit
index
cdcf45e
..
99be10f
100644
(file)
--- a/
src/syntax/mmbuilder.nit
+++ b/
src/syntax/mmbuilder.nit
@@
-688,7
+688,7
@@
redef class AFormaldef
var o = c.global.intro
if c == o then
if n_type == null then
- _formal.bound = v.module.type_any
+ _formal.bound = v.module.type_any.as_nullable
else
_formal.bound = n_type.get_stype(v)
end