Skip to content

parenthesized types break highlighting #706

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

Closed
chadaustin opened this issue Nov 4, 2015 · 4 comments
Closed

parenthesized types break highlighting #706

chadaustin opened this issue Nov 4, 2015 · 4 comments

Comments

@chadaustin
Copy link

  message_handlers: (number);

breaks highlighting for the rest of the file.

  message_handlers: number;

works fine.

@basarat
Copy link
Member

basarat commented Nov 5, 2015

Verified. Up for grabs 🌹

var message_handlers: (number);
var bar = 123;

image

@basarat
Copy link
Member

basarat commented Nov 10, 2015

any effort in grammar should go to #675 🌹

@mjohnsonengr
Copy link
Contributor

Hi,

I think this is related so I'll attach a screenshot; the parentheses around typing information in this case is in a method parameter.

image

@basarat
Copy link
Member

basarat commented Jan 12, 2016

@basarat basarat closed this as completed Jan 12, 2016
@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants