-
Notifications
You must be signed in to change notification settings - Fork 53
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
[operators][integrate]feat!: Integrate OperationExpr into GeneralForStatement #355
Merged
Merged
Changes from 46 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
aeb972b
Integrate OperationExpr into GeneralForStatement
summer-ji-eng 5ed201c
make exprs optional
summer-ji-eng 91741f3
format tests
summer-ji-eng 17c9959
Add comments
summer-ji-eng 7c5269f
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 1cd43c6
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng ade35c7
remove null case for expressions
summer-ji-eng 18cd6d9
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng c5f32ee
fix comments
summer-ji-eng 25c8eca
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 1e75624
Update second version design
summer-ji-eng 7698a95
Merge branch 'integrate_GeneralForStatement' of github.com:googleapis…
summer-ji-eng b52cf21
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 30b4ff4
fix: add final keyword checking in post increment operation expr
summer-ji-eng 5a5ec4e
fix: add final keyword check on assignment expr
summer-ji-eng 741edca
Integrate OperationExpr into GeneralForStatement
summer-ji-eng b681720
make exprs optional
summer-ji-eng 5aeae69
format tests
summer-ji-eng c04297d
Add comments
summer-ji-eng 9375d9b
remove null case for expressions
summer-ji-eng dbfb6ed
fix comments
summer-ji-eng d899782
Update second version design
summer-ji-eng 8d647cd
rebase fix in assignment and increment expr
summer-ji-eng e5c54ef
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng aabd0a6
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 976c9c1
Merge branch 'integrate_GeneralForStatement' of github.com:googleapis…
summer-ji-eng c5b02b4
fix: add final keyword checking in post increment operation expr
summer-ji-eng 9ac46dd
fix: add final keyword check on assignment expr
summer-ji-eng 097ca65
Integrate OperationExpr into GeneralForStatement
summer-ji-eng c958696
make exprs optional
summer-ji-eng 747b3b4
format tests
summer-ji-eng 2d7bbf4
Add comments
summer-ji-eng 08f4b2d
remove null case for expressions
summer-ji-eng 83176f9
fix comments
summer-ji-eng 2a6fd72
Update second version design
summer-ji-eng d7931b0
rebase fix in assignment and increment expr
summer-ji-eng 3581aa3
Merge branch 'integrate_GeneralForStatement' of github.com:googleapis…
summer-ji-eng ac9904f
remove .circleci/config.yml
summer-ji-eng 1124549
checkout master with files
summer-ji-eng ea276a0
git batching
summer-ji-eng 93a1fc2
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 33bdbca
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng bd8e2f8
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 4e20a14
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng bc40948
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 1e7c838
delete comment code
summer-ji-eng 06dd281
Initialization is expr
summer-ji-eng 7816b01
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng 6da3962
Merge branch 'master' into integrate_GeneralForStatement
summer-ji-eng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please confirm if this must be an AssignmentExpr (e.g. what about passing
foobar()
here)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it should not be limited to assignmentExpr, it should be expr which belongs to statmentExprList(https://docs.oracle.com/javase/specs/jls/se10/html/jls-14.html#jls).
My original though is to simplify the way to get variable. After consideration of back compatible, it should change back to expr. I will make change on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miraleung changed the interface use
Expr
for initialization. Before I merge the code, could you take one more look. Thanks.