mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
wasm: nicer debug output for Let statements
This commit is contained in:
parent
67f7512e6d
commit
7f44ace383
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ impl<'a> WasmBackend<'a> {
|
|||
let mut current_stmt = stmt;
|
||||
while let Stmt::Let(sym, expr, layout, following) = current_stmt {
|
||||
if DEBUG_SETTINGS.let_stmt_ir {
|
||||
println!("let {:?} = {}", sym, expr.to_pretty(200)); // ignore `following`! Too confusing otherwise.
|
||||
print!("\nlet {:?} = {}", sym, expr.to_pretty(200));
|
||||
}
|
||||
|
||||
let kind = match following {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue