ES6 Inspection Differences in <script> vs .js

I'm seeing a syntax error when I use ES6 in a <script> tag that I'm not seeing in a separate .js file.  I set Settings > Languages & Frameworks > JavaScript > JavaScript language version to ECMAScript 6. Here are the two files:

foo.js
Screen Shot 2015-11-12 at 8.12.05 PM.png

foo.html
Screen Shot 2015-11-12 at 8.14.43 PM.png
(The yellow squiggle message is "Unreachable code".)

Is this a settings issue?  A bug?  Something else?

1 comment
Comment actions Permalink

Looks like it was a bug, fixed when I updated to 143.747.6:

Screen Shot 2015-11-13 at 10.09.28 AM.png

0

Please sign in to leave a comment.