-
Notifications
You must be signed in to change notification settings - Fork 26.2k
feat(compiler): support the in
keyword in Binary expression
#58432
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 8000 and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JeanMeche
commented
Oct 30, 2024
7b3832a
to
e322d4a
Compare
wartab
reviewed
Oct 30, 2024
e322d4a
to
1549ac7
Compare
4e8c96a
to
8041fb9
Compare
in
keyword in Binary expressionin
keyword in Binary expression
8041fb9
to
98fd4dc
Compare
98fd4dc
to
6828640
Compare
7ff4cb0
to
b6c32c3
Compare
8d47aae
to
111aaff
Compare
crisbeto
approved these changes
Apr 22, 2025
packages/compiler-cli/src/ngtsc/typecheck/test/type_check_block_spec.ts
Outdated
Show resolved
Hide resolved
This commit adds the support for the `in` keyword as a relational operator, with the same precedence as the other relational operators (<,>, <=, >=) BREAKING CHANGE: 'in' in an expression now refers to the operator
This PR was merged into the repository by commit 1b8e7ab. The changes were merged into the following branches: main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
action: merge
The PR is ready for merge by the caretaker
area: compiler
Issues related to `ngc`, Angular's template compiler
breaking changes
detected: breaking change
PR contains a commit with a breaking change
detected: feature
PR contains a feature commit
feature
Issue that requests a new feature
target: major
This PR is targeted for the next major release
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds the support for the
in
keyword as a relational operator, with the same precedence as the other relational operators (<,>, <=, >=).As a bigger picture, adding this brings us toward