aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe/cexp.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-09-20 20:19:22 -0700
committerGraydon Hoare <[email protected]>2010-09-20 20:19:22 -0700
commitc17964c06d24300e5f9073f0b7ab4ffaffd78a89 (patch)
tree7996174fc01f36e5434dd57c68b323c7806025bf /src/boot/fe/cexp.ml
parentAdd issue #163 testcase to str-append testcase. (diff)
downloadrust-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.ml2
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"