DescriptionGN: Throw an error overwriting a nonempty scope.
Previously GN would throw an error if you assigned a nonempty list to another
nonempty list. This is easy to mess up when you actually meant to append.
However, it did not have this protection for "scope"-type values.
Adds such protection to scope-type values, and add unit tests for both
behaviors.
Does some unit test cleanup for the operators unit tests to make them easier to
write.
BUG=
Committed: https://crrev.com/56350de24ed370f955b299022e93229f8643ace8
Cr-Commit-Position: refs/heads/master@{#410874}
Patch Set 1 #Patch Set 2 : Comment #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|