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:
parent
142ff011da
commit
f3717da1b1
7 changed files with 42 additions and 25 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue