Skip to content

Commit

Permalink
Call normalize_type from infer_exp_force
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hawblitzel committed Oct 31, 2018
1 parent 305f66e commit b4191ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Vale/src/typechecker.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ and infer_exp_force (env:env) (u:unifier) (e:exp) (et:typ option):(typ * aexp) =
subst_typ (u.u_substs) t
| t -> t
in
(t, ae)
(normalize_type env t, ae)
with err -> (match locs_of_exp e with [] -> raise err | loc::_ -> locErr loc err)

let tc_exp (env:env) (e:exp) (et:typ option):(typ * exp) =
Expand Down

0 comments on commit b4191ab

Please sign in to comment.