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/fe/cexp.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/fe/cexp.ml')
| -rw-r--r-- | src/boot/fe/cexp.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/fe/cexp.ml b/src/boot/fe/cexp.ml index ac05105e..5ec17418 100644 --- a/src/boot/fe/cexp.ml +++ b/src/boot/fe/cexp.ml @@ -520,7 +520,7 @@ and eval_pexp (env:env) (exp:Ast.pexp) : pval = | _ -> bug () "Unexpected unop in Cexp.eval_pexp" end - | Ast.PEXP_lval (Ast.PLVAL_ident ident) -> + | Ast.PEXP_lval (Ast.PLVAL_base (Ast.BASE_ident ident)) -> begin match ltab_search !(env.env_bindings) ident with None -> raise (err (Printf.sprintf "no binding for '%s' found" |