-
Notifications
You must be signed in to change notification settings - Fork 62
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
[v1] bag constructor allows for whitespace between angle brackets #1498
Comments
Above change in v1 also allows users to insert a comment in between the bag constructor angle brackets:
meanwhile in
|
If we deem this is unintended behavior, I have a fix as part of #1478, which looks at the hidden token stream for any hidden whitespace/comments. |
As brought up in Yingtao's comment, there are a few other operators we'll need to correct this behavior for:
I'll include this fix in #1499. |
Something I noticed when trying to add some special operator parsing rules in the v1 branch is that it currently allows whitespace between the angle brackets:
whereas the previous parsing behavior on
main
and all prior releases require the angle brackets to be together:Seems like #1449 inadvertently introduced this parsing change. Will need to confirm w/ team whether this behavior should exist in the parsing.
The text was updated successfully, but these errors were encountered: