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

Allow empty or missing begin #86

Merged
merged 3 commits into from
Apr 4, 2019

Conversation

msftrncs
Copy link
Contributor

@msftrncs msftrncs commented Feb 5, 2019

This addresses the other half of #82, by allowing a begin rule to be empty (or otherwise missing) as long as an end rule exists.

This PR was submitted separately so it can be considered separately.

I have only tested through the 'inspect' tool.

@msftrncs
Copy link
Contributor Author

msftrncs commented Feb 5, 2019

The errors in the CI seems to be from the fact that the JADE language uses the same constructs as the PUG language described in #82 and more fully described in microsoft/vscode#65983. This causes the test to have fewer results than is expected, but I am not fully sure if the code is finding an empty 'canonicalTokens` element, or running out of elements. It looks like the test for JADE will need amended, as the expected test results are incorrect.

@msftrncs
Copy link
Contributor Author

msftrncs commented Feb 8, 2019

#22 would appear to be the same issue, though its marked closed, I don't think it was ever remedied.

@alexdima
Copy link
Member

alexdima commented Apr 4, 2019

👍 Thank you!

@alexdima alexdima added this to the April 2018 milestone Apr 4, 2019
@alexdima alexdima merged commit f22419a into microsoft:master Apr 4, 2019
@msftrncs msftrncs deleted the AllowMissingBigin branch May 2, 2019 07:00
@neilsoult
Copy link

Thanks guys, I am looking forward to the April release!

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

Successfully merging this pull request may close these issues.

None yet

3 participants