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

Resolve ambiguous labels by kind of label #13

Open
bakkot opened this issue Nov 4, 2020 · 0 comments
Open

Resolve ambiguous labels by kind of label #13

bakkot opened this issue Nov 4, 2020 · 0 comments

Comments

@bakkot
Copy link
Member

bakkot commented Nov 4, 2020

If you have something like

/*# if foo #*/ {
  a;
  b;
};

it will fail because it isn't clear if foo applies to the BlockStatement or the Block. But if can only legally apply to one of those - the inner Block isn't optional - so it should be able to figure out that foo should refer to the BlockStatement.

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

No branches or pull requests

1 participant