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

export class MyClass { ... highlights closing brace as error (es6) #256

Closed
euoia opened this issue Mar 18, 2015 · 10 comments
Closed

export class MyClass { ... highlights closing brace as error (es6) #256

euoia opened this issue Mar 18, 2015 · 10 comments

Comments

@euoia
Copy link

euoia commented Mar 18, 2015

When using the following ES6 syntax:

export class MyClass {
...
}

The closing brace is highlighted as an error. See screenshot.

image

Description of the export statement: http://www.2ality.com/2014/09/es6-modules-final.html.

@nemtsov
Copy link

nemtsov commented Jun 25, 2015

Same thing with exporting objects:

export_objects_vim_bug

@gf3
Copy link
Contributor

gf3 commented Jul 15, 2015

being highlighted as a jsParensError

@ddevault
Copy link

Does not seem to have been fixed by #275 so far as I can tell.

@ccarpita
Copy link
Contributor

@SirCmpwn are you sure you're on develop branch? Otherwise please post some sample code that generates incorrect syntax and I can test locally.

@ddevault
Copy link

Oh, whoops, didn't realize this was only in develop.

@nemtsov
Copy link

nemtsov commented Jul 27, 2015

#275 resolves the issue for me.

@gf3
Copy link
Contributor

gf3 commented Jul 27, 2015

it didn't for me, tried it a couple days ago

@ccarpita
Copy link
Contributor

@gf3 can you post a test case that fails? Also, sorry to ask, but are you 100% sure you're using the current develop branch?

@toddw
Copy link

toddw commented Sep 10, 2015

Latest develop branch resolved the problem for me

@gf3
Copy link
Contributor

gf3 commented Sep 10, 2015

previous issue seems to be fixed since i last tried, looking good!

@amadeus amadeus closed this as completed Apr 24, 2016
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

8 participants