Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 17, 2024
1 parent 32de9e4 commit 94d5f1c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,9 @@ export function get_prop_source(binding, state, name, initial) {

if (
state.analysis.accessors ||
binding.updated ||
(state.analysis.immutable
? binding.reassigned || (state.analysis.runes && binding.mutated)
: binding.mutated)
: binding.update)
) {
flags |= PROPS_IS_UPDATED;
}
Expand Down

0 comments on commit 94d5f1c

Please sign in to comment.