Merge: model: add `MType::as_notnullable` to remove the `nullable` modifier
authorJean Privat <jean@pryen.org>
Mon, 28 Jul 2014 18:29:23 +0000 (14:29 -0400)
committerJean Privat <jean@pryen.org>
Mon, 28 Jul 2014 18:29:23 +0000 (14:29 -0400)
Basically replace

~~~
if m isa MNullableType then m = m.mtype
~~~

by

~~~
m = m.as_notnullable
~~~

Pull-Request: #619
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

1  2 
src/model/model.nit
src/typing.nit

Simple merge
diff --cc src/typing.nit
Simple merge