comp: compile `lazy` in the getter
authorJean Privat <jean@pryen.org>
Mon, 21 Jul 2014 19:59:36 +0000 (15:59 -0400)
committerJean Privat <jean@pryen.org>
Tue, 22 Jul 2014 11:58:09 +0000 (07:58 -0400)
commit8e217fd1434a23728c10528ec96318cee23c18a9
tree0b876a4999ca227b27d0ff2746fed4c339259dd7
parenteda15bcd134cc96e7db7d53c66472c66a6b765e4
comp: compile `lazy` in the getter

For primitive and nullables, lazy is implemented with an additionnal
boolean attribute used as a guard.
The guard is also update in the setter.

For nonnullable val*, lazy is implemented with issset that is currently
only correctly implemented in this subcase.

One isset has a good implementation, the guard implemnatation can be
removed.

Signed-off-by: Jean Privat <jean@pryen.org>
src/abstract_compiler.nit