Skip to content

Commit

Permalink
Use id to check for array equality
Browse files Browse the repository at this point in the history
  • Loading branch information
cruessler committed Feb 6, 2024
1 parent 898d889 commit 841bacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/elm/Vm/Primitive.elm
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ equalp_ value1 value2 =
( _, Type.List _ ) ->
False

( Type.Array _, Type.Array _ ) ->
value1 == value2
( Type.Array array1, Type.Array array2 ) ->
array1.id == array2.id

( Type.Array _, _ ) ->
False
Expand Down

0 comments on commit 841bacd

Please sign in to comment.