Skip to content

Commit

Permalink
Improve each_item_invalid_assignment error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Prinzhorn authored Dec 13, 2024
1 parent af9b071 commit d3fd53d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export default test({
error: {
code: 'each_item_invalid_assignment',
message:
'Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`)'
'Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `bind:value={array[i]}` instead of `bind:value={entry}`)'
}
});

0 comments on commit d3fd53d

Please sign in to comment.