DescriptionRefine duplicate arrow function parameter location handling
This patch fixes the logic of finding the location of a duplicate
parameter error in arrow functions by only looking at the error if it
exists. This should address a TSAN error. Further, an UNREACHABLE()
statement is inserted somewhere in the ExpressionClassifier code
to make future similar bugs easier to find.
BUG=v8:4483
Committed: https://crrev.com/29f1475a8d4e8df2198e77f9f2bc1bb92a433435
Cr-Commit-Position: refs/heads/master@{#39701}
Patch Set 1 #Patch Set 2 : Make MSVC happy #
Messages
Total messages: 15 (11 generated)
|