Stefan pushed to branch master at Stefan / Typer
Commits: 07290652 by Stefan Monnier at 2017-06-29T17:49:56-04:00 * src/eval.ml (_eval): Add missing case for float constants.
- - - - -
1 changed file:
- src/eval.ml
Changes:
===================================== src/eval.ml ===================================== --- a/src/eval.ml +++ b/src/eval.ml @@ -260,6 +260,7 @@ let rec _eval lxp (ctx : Env.runtime_env) (trace : eval_debug_info): (value_type (* ---------------- *) | Imm(Integer (_, i)) -> Vint (i) | Imm(String (_, s)) -> Vstring (s) + | Imm(Float (_, n)) -> Vfloat (n) | Imm(sxp) -> Vsexp (sxp) | Cons (label) -> Vcons (label, []) | Lambda ((_, n), lxp) -> Closure (n, lxp, ctx)
View it on GitLab: https://gitlab.com/monnier/typer/commit/07290652cb0f616837bd210e0370c84dc980...
--- View it on GitLab: https://gitlab.com/monnier/typer/commit/07290652cb0f616837bd210e0370c84dc980... You're receiving this email because of your account on gitlab.com.
Afficher les réponses par date