jeremykohn / closure-linter

Automatically exported from code.google.com/p/closure-linter
Apache License 2.0
0 stars 0 forks source link

Missing semicolon reported after two divison operators #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ cat semicolon-after-double-devision.js
var x = 2 / 2 /
        1;
$ gjslint semicolon-after-double-devision.js 
----- FILE  :  /home/vagrant/work/bidder/semicolon-after-double-devision.js 
-----
Line 1, E:0010: Missing semicolon at end of line
Found 1 errors, including 1 new errors, in 1 files (0 files OK).

Some of the errors reported by GJsLint may be auto-fixable using the script
fixjsstyle. Please double check any changes it makes and report any bugs. The
script can be run by executing:

fixjsstyle semicolon-after-double-devision.js 

This should not report an error and fixjsstyle breaks the code.

I tested it with gjslint 2.3.7 on Linux.

Original issue reported on code.google.com by jonas.do...@gmail.com on 9 Oct 2012 at 9:26