DescriptionPreParsing inner funcs: Remove nonsense code from PreParser.
The assignment in default parameters (e.g., function foo(a = somedefault) { }
doesn't flow through PreParserFactory::NewAssignment even if the comment claims so.
Thus, piping through the variables is not needed.
Kudos to neis@ for pointing this out.
BUG=v8:5501
R=neis@chromium.org
Committed: https://crrev.com/0c827cd00030664fc3bdba0dd5284760873a39a7
Cr-Commit-Position: refs/heads/master@{#41670}
Patch Set 1 #Patch Set 2 : more tests #
Messages
Total messages: 13 (8 generated)
|