Skip to content

Commit

Permalink
chore: Apply suggestion from oscar code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Spencer <[email protected]>
  • Loading branch information
spotandjake and ospencer authored Feb 17, 2025
1 parent 66bed44 commit 746a3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/runtime/equal.gr
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let rec heapEqualHelp = (heapTag, xptr, yptr) => {
return false
}

// Handle lists seperately
// Handle lists separately to avoid stack overflow
if (WasmI32.load(xptr, 8n) == _LIST_ID) {
if (xVariantTag >> 1n == 1n) return true // End of list

Expand Down

0 comments on commit 746a3b0

Please sign in to comment.