Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • message
  • fail
  • missing-function-name.js
Find file
BlameHistoryPermalink
  • Suraj Sharma's avatar
    [parser] Improve parse error message for missing name in FunctionDeclaration · f43e8845
    Suraj Sharma authored Mar 20, 2019
    Added a new Error Message for Missing Function Name.
    
    The program:
    
    function(){}
    
    ...now produces:
    	SyntaxError: Function statements require a valid function name.
    
    ...instead of:
    	SyntaxError: Unexpected Token (
    
    Bug: v8:3698, v8:6513
    Change-Id: I3c12dfcfe80b94209aa9af434ae1d212970cf362
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1500914
    Commit-Queue: Adam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60376}
    f43e8845
missing-function-name.js 182 Bytes
EditWeb IDE

Replace missing-function-name.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.