typing: remove `raw_arguments` as a cache
authorJean Privat <jean@pryen.org>
Wed, 16 Apr 2014 20:15:52 +0000 (16:15 -0400)
committerJean Privat <jean@pryen.org>
Fri, 25 Apr 2014 13:16:57 +0000 (09:16 -0400)
commit7d46fcb17542a149556fa101090e6d2bbc2adb93
tree2c21f554480970e90c42bb0d30fcf3fb8d5de36c
parent58e7f788af0f4f73bb4834bb34cf805cd5e76ec3
typing: remove `raw_arguments` as a cache

Because of transform and other potential optimization using astbuilder,
the typing phase cannot stores the raw_arguments and expect it is still
valid after subsequent phases.

The simplest way is to make `raw_arguments` a method that recollect the
correct nodes.

Alternative using some kind of cache invalidation seems to complex for not
a real gain.

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