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

A certain way of writing Ternary removes Syntax Highlighting of null #1067

Closed
finn-matti opened this issue Mar 25, 2020 · 2 comments
Closed

Comments

@finn-matti
Copy link

Describe the bug
Null value looses coloration when colon is written on same line

To Reproduce
See screenshot

Expected behavior
Syntax highlighting continues to work.

Screenshots
This works:

Screenshot 2020-03-25 at 15 15 05

This doesn't:

Screenshot 2020-03-25 at 15 16 01

Platform and version
OS macOS 10.15.4 and Intelephense version 1.3.11, VS Code Version 1.43.2.

@KapitanOczywisty
Copy link
Contributor

Issue belongs to this repository: https://github.com/atom/language-php
And is caused by null : interpreted as goto label.

@finn-matti
Copy link
Author

Thanks I raised an issue over there: atom/language-php#386

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

2 participants