fix: pass along parsed number string

This commit is contained in:
Drake 2022-05-14 15:44:16 -06:00
parent a1f03355c0
commit 43674efb32
No known key found for this signature in database
GPG key ID: C905B72008514EBC
6 changed files with 34 additions and 16 deletions

View file

@ -424,7 +424,7 @@ pub fn canonicalize_expr<'a>(
&ast::Expr::Num(str) => {
let answer = num_expr_from_result(
var_store,
finish_parsing_num(str).map(|result| (str, result)),
finish_parsing_num(str),
region,
env,
);