diff options
| author | Graydon Hoare <[email protected]> | 2010-09-20 20:19:22 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-09-20 20:19:22 -0700 |
| commit | c17964c06d24300e5f9073f0b7ab4ffaffd78a89 (patch) | |
| tree | 7996174fc01f36e5434dd57c68b323c7806025bf /src/boot/me/resolve.ml | |
| parent | Add issue #163 testcase to str-append testcase. (diff) | |
| download | rust-c17964c06d24300e5f9073f0b7ab4ffaffd78a89.tar.xz rust-c17964c06d24300e5f9073f0b7ab4ffaffd78a89.zip | |
Use name_base in plval base.
Diffstat (limited to 'src/boot/me/resolve.ml')
| -rw-r--r-- | src/boot/me/resolve.ml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/boot/me/resolve.ml b/src/boot/me/resolve.ml index 3c355c1c..cb40dfc9 100644 --- a/src/boot/me/resolve.ml +++ b/src/boot/me/resolve.ml @@ -492,9 +492,9 @@ let type_resolving_visitor inner.Walk.visit_pexp_post p; let rebuild_plval pl = match pl with - Ast.PLVAL_ident _ -> pl - | Ast.PLVAL_app (id, tys) -> - Ast.PLVAL_app (id, Array.map resolve_ty tys) + Ast.PLVAL_base (Ast.BASE_app (id, tys)) -> + Ast.PLVAL_base (Ast.BASE_app (id, Array.map resolve_ty tys)) + | Ast.PLVAL_base _ -> pl | Ast.PLVAL_ext_name (pexp, nc) -> let pexp = get_rebuilt_pexp pexp in let nc = @@ -668,8 +668,8 @@ let lval_base_resolving_visitor Ast.PEXP_lval pl -> begin match pl with - (Ast.PLVAL_ident ident) - | (Ast.PLVAL_app (ident, _)) -> + (Ast.PLVAL_base (Ast.BASE_ident ident)) + | (Ast.PLVAL_base (Ast.BASE_app (ident, _))) -> let id = lookup_defn_by_ident p.id ident in iflog cx |