mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Create Expr::to_pretty in mono IR
This commit is contained in:
parent
079a8311ec
commit
c2a2ff2957
2 changed files with 13 additions and 0 deletions
|
@ -280,6 +280,8 @@ impl<'a> WasmBackend<'a> {
|
|||
Stmt::Let(_, _, _, _) => {
|
||||
let mut current_stmt = stmt;
|
||||
while let Stmt::Let(sym, expr, layout, following) = current_stmt {
|
||||
// println!("let {:?} = {}", sym, expr.to_pretty(200)); // ingore `following`! Too confusing otherwise.
|
||||
|
||||
let wasm_layout = WasmLayout::new(layout);
|
||||
|
||||
let kind = match following {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue