mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
start
This commit is contained in:
parent
c1ced3c5d2
commit
dbab89cc64
4 changed files with 333 additions and 52 deletions
|
@ -642,6 +642,7 @@ fn eq_boxed<'a>(
|
|||
}
|
||||
|
||||
/// List equality
|
||||
/// TODO, ListGetUnsafe no longer increments the refcount, so we can use it here.
|
||||
/// We can't use `ListGetUnsafe` because it increments the refcount, and we don't want that.
|
||||
/// Another way to dereference a heap pointer is to use `Expr::UnionAtIndex`.
|
||||
/// To achieve this we use `PtrCast` to cast the element pointer to a "Box" layout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue