Modify the fn vistors in walk so that they can handle functions without names. Update the typestate code to understand this.

This commit is contained in:
Michael Sullivan 2011-06-24 15:11:22 -07:00
parent 142ff011da
commit f3717da1b1
7 changed files with 42 additions and 25 deletions

View file

@ -8,6 +8,8 @@ import util::common::ty_mach;
import util::common::filename;
type ident = str;
// Functions may or may not have names.
type fn_ident = option::t[ident];
type path_ = rec(vec[ident] idents, vec[@ty] types);