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.
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
Second Phase of RLC inference #6278
Second Phase of RLC inference #6278
Changes from 169 commits
695416d
ab26997
ad74e0b
1f16be4
833231f
22af6f6
2d23295
155ded6
ef2ac88
6a28bfc
617a7c7
8f27be1
e455aa1
3a483f5
2e87329
aae7e30
c48227b
d83eb35
98279da
37cd3e2
9e2cc1a
a958009
f795b0e
7e678fb
d32645e
ee90781
3bd8772
74cfa33
6b9f194
6b787ca
7d85c7f
3b7d062
421cdbc
bd1372e
4993d96
1849e13
7dd793a
6e518fb
e5da11a
6b00ac4
111c0aa
15097e2
c968553
f53afbc
5216a62
885d952
4e9a811
8af4608
da6f840
6f0ad6e
16e9687
51cfa50
3be91db
e32a557
6005941
ae36399
dc24008
29e941e
996cce1
e0cb22b
998c87a
447e1ed
f4eb105
a1eb2c1
39c9961
d4157d0
4911657
1ab7ff1
612ef9d
1299f7a
372cac3
48f5a01
09fb026
2c70b8d
a6e8546
12ee23a
3761941
d7ed3dd
c6a94f1
17b7853
bc0b737
8354a14
36ddd8e
c1c3d7b
f70a11e
94bb05f
a64af88
9ffc0a1
7110866
206643d
f6e82cc
4cda0ed
0bc4ed8
5a57c79
145bb3e
4caab8a
8b6896f
79e2911
041fc0a
2f6d925
bbcc548
d21d164
fa72f43
1793e3f
ca50189
61283f1
cdcb572
a18c47f
5a4c853
39bc3aa
0155950
3f116a1
271d455
beac03b
a4ffad6
a8128d2
233d349
79a6d92
b473dbc
6c254aa
6be4874
06900ac
518a598
74bf6d2
ffc2472
217e105
3ee6e82
3c7d78a
13e16da
8ab8a64
3acf330
80323c3
f3d465c
75f2e84
f089e3c
3a7cfda
2b2cca2
eb9f86f
c03056b
2e3c073
8bfa69c
dd2e68d
8f3debe
8068f05
d2d896b
b33b705
d4128a6
3b39cbb
f80dcde
bf851fc
a0670c1
53e6f05
3011552
67f7b52
1e5499f
29cfb1f
4b64bf4
2ed4210
124f3d0
09d1d4e
7fa1eea
1274c9b
4f46157
fe2554c
e679bfe
4cba487
69d8a42
f650990
9b46a6d
6f38468
5c86c43
8b41fec
db0ed91
7a735cd
d107269
ea65dc4
6f4819d
d8681c0
b4e1b2a
2ba55f1
324e9f6
acc5d3e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Does this need to be re-done if some other part of the inference discovers an owning field?
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.
It won't be re-done in this iteration, in the next iteration it will infer an @owning annotation if the number of owning fields is greater than 1. I added a new test file(
ReplaceMustCallAliasAnnotation.java
) to check this scenario.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.
A parameter can't be an alias of an obligation, only of a node.
Why pass in an obligation here? That is, why not pass in a node?
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.
It's because we need to iterate over all the aliases of the given obligation.