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

There is a problem with the new ?= operator when it is directly on a value. #104

Closed
DragonKnightOfBreeze opened this issue Nov 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DragonKnightOfBreeze
Copy link
Owner

          There is a problem with the new ?= operator when it is directly on a value.

Example and a few tests:
image

All of the above should be valid.

Originally posted by @kaiser-chris in #102 (comment)

@DragonKnightOfBreeze DragonKnightOfBreeze added the bug Something isn't working label Nov 25, 2024
@DragonKnightOfBreeze
Copy link
Owner Author

DragonKnightOfBreeze commented Nov 25, 2024

Fixed by modify the flex file.

Note:
by plugin code, cwt files and script files are more different.
in cwt files, <event> = xxx is valid,
but in script files, <event> = xxx is invalid, and it may be confused with event>=xxx,
so in general, it's better to add spaces around property separators in cwt files.

DragonKnightOfBreeze added a commit that referenced this issue Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant