Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid alidation of Missing semicolon #69

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 3 comments
Open

Invalid alidation of Missing semicolon #69

GoogleCodeExporter opened this issue Mar 31, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run gjslint validation on the following code
  var f = function() {
    var m = 1,
      fn = function() {

      },
      b = 12;
  };


  var f2 = function() {
    var p1 = 1, p2 = 2;
  };

What is the expected output? What do you see instead?
 - no errors
Instead there is a notification 
  Line 5, E:0011: Missing semicolon after function assigned to a variable


What version of the product are you using? On what operating system?


Please provide any additional information below.

Run fixjsstyle
    Fixed 1 errors

Code looks like:
      };,
      b = 12;
what generates real javascript error

Original issue reported on code.google.com by [email protected] on 30 May 2013 at 8:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant