mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 22:45:14 +00:00
Don't use debug formatting to convert Variable into string
This commit is contained in:
parent
7a07f13f31
commit
fefb4a3115
1 changed files with 1 additions and 1 deletions
|
@ -1852,7 +1852,7 @@ fn desugar_dbg_expr<'a>(
|
|||
let region = expr.region;
|
||||
|
||||
// tmpVar = expr
|
||||
let ident = &*arena.alloc_str(&format!("{:?}", var_store.fresh()));
|
||||
let ident = &*arena.alloc(var_store.fresh().index().to_string());
|
||||
|
||||
let value_def = ValueDef::Body(
|
||||
arena.alloc(Loc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue