mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
first working linked list test
This commit is contained in:
parent
3364d03fcc
commit
e33c2b3c84
6 changed files with 386 additions and 320 deletions
|
@ -815,7 +815,13 @@ trait Backend<'a> {
|
|||
self.load_literal_symbols([*ptr].as_slice());
|
||||
self.expr_unbox(*sym, *ptr, element_layout)
|
||||
}
|
||||
x => todo!("the expression, {:?}", x),
|
||||
Expr::NullPointer => {
|
||||
self.load_literal_i64(sym, 0);
|
||||
}
|
||||
Expr::Reuse { .. } => todo!(),
|
||||
Expr::Reset { .. } => todo!(),
|
||||
Expr::ResetRef { .. } => todo!(),
|
||||
Expr::RuntimeErrorFunction(_) => todo!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue