-
Daniel Ehrenberg authored
In sloppy mode, allow multiply labelled function declarations, such as a: b: function c() {} Such a form is allowed by the specification, as well as ChakraCore, SpiderMonkey and JSC (though ChakraCore because it doesn't enforce any lexical label restrictions.) Thanks to Andre Bargull for adding the test262 test which caught the bug. Change-Id: I2d3f172830c2e63252f00afa03177a7d17d79a27 Reviewed-on: https://chromium-review.googlesource.com/527639Reviewed-by: Marja Hölttä <marja@chromium.org> Commit-Queue: Daniel Ehrenberg <littledan@chromium.org> Cr-Commit-Position: refs/heads/master@{#45802}
38a3e074