nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model: rename `as_notnullable` to `undecorate`
[nit.git]
/
src
/
nitni
/
nitni_callbacks.nit
diff --git
a/src/nitni/nitni_callbacks.nit
b/src/nitni/nitni_callbacks.nit
index
8542a95
..
210a4b5
100644
(file)
--- a/
src/nitni/nitni_callbacks.nit
+++ b/
src/nitni/nitni_callbacks.nit
@@
-422,7
+422,7
@@
redef class AAsNotNullableExternCall
redef fun from_mtype do return n_type.mtype.as_nullable
redef fun to_mtype do
var mtype = n_type.mtype.as(not null)
redef fun from_mtype do return n_type.mtype.as_nullable
redef fun to_mtype do
var mtype = n_type.mtype.as(not null)
- mtype = mtype.as_notnullable
+ mtype = mtype.undecorate
return mtype
end
return mtype
end