Parser::Declare follow-up to r38979.
BUG= Review-Url: https://codereview.chromium.org/2292223004 Cr-Commit-Position: refs/heads/master@{#39053}
This commit is contained in:
parent
7516fe1eaa
commit
d6f3fa67af
@ -1677,6 +1677,7 @@ Variable* Parser::Declare(Declaration* declaration,
|
||||
} else {
|
||||
ReportMessage(MessageTemplate::kParamDupe);
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
if (sloppy_mode_block_scope_function_redefinition) {
|
||||
++use_counts_[v8::Isolate::kSloppyModeBlockScopedFunctionRedefinition];
|
||||
|
Loading…
Reference in New Issue
Block a user