model: Make the `anchor` parameter of `MType::anchor_to` nullable
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 24 Mar 2017 04:42:41 +0000 (00:42 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Sun, 26 Mar 2017 03:43:25 +0000 (23:43 -0400)
commit6585c92f335641a962f5d239b0264e0fb6a7b15e
tree14ff1659c60a591e9523875ac5610b2082c6b554
parentf6f27308030a9dc84f5da8c65301ad9d2faeb7a3
model: Make the `anchor` parameter of `MType::anchor_to` nullable

Refactor the code of `TypeVisitor::anchor_to`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
src/model/model.nit
src/semantize/typing.nit