Bug 324673 - [validation] Confusing 'Missing semicolon' warnings
Summary: [validation] Confusing 'Missing semicolon' warnings
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2010-09-07 12:50 EDT by Michael Rennie CLA
Modified: 2014-05-29 13:53 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-09-07 12:50:45 EDT
build id: 20100813105432

using the test script from bug 324671 notice that there are many 'Missing semicolon' warnings on the code pattern like the following:

  name: function()
  {

  }

If I edit the code to look like:

  name: function() {

  }

the warning goes away.

Example warning:

Description	Resource	Path	Location	Type
Missing semicolon	firebug-service.js	/firefox.eclipseweb/firebug1.6/modules	line 214	JavaScript Problem
Comment 1 Sebastian Zartner CLA 2012-12-29 04:43:13 EST
This looks like the same issue as in bug 385274.
It's caused by the "const" identifiers at the beginning of the script.

Sebastian