mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
fix: pass along parsed number string
This commit is contained in:
parent
a1f03355c0
commit
43674efb32
6 changed files with 34 additions and 16 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue