-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Check safe initialization of static objects #16970
Merged
Merged
+2,250
−48
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b787d3c - Browse repository at this point
Copy the full SHA b787d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 337730b - Browse repository at this point
Copy the full SHA 337730bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e112581 - Browse repository at this point
Copy the full SHA e112581View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9604f76 - Browse repository at this point
Copy the full SHA 9604f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b9f12 - Browse repository at this point
Copy the full SHA a3b9f12View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce25221 - Browse repository at this point
Copy the full SHA ce25221View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8960f3 - Browse repository at this point
Copy the full SHA f8960f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f4afa8 - Browse repository at this point
Copy the full SHA 0f4afa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for db0430c - Browse repository at this point
Copy the full SHA db0430cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d255a - Browse repository at this point
Copy the full SHA f6d255aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03afb7d - Browse repository at this point
Copy the full SHA 03afb7dView commit details -
It is impossible to take advantage of Ext if static objects can be mutable.
Configuration menu - View commit details
-
Copy full SHA for fea9fb9 - Browse repository at this point
Copy the full SHA fea9fb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46c7b8b - Browse repository at this point
Copy the full SHA 46c7b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e997bc0 - Browse repository at this point
Copy the full SHA e997bc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fab38b5 - Browse repository at this point
Copy the full SHA fab38b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6dbb2d - Browse repository at this point
Copy the full SHA e6dbb2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6278d1 - Browse repository at this point
Copy the full SHA d6278d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8a041 - Browse repository at this point
Copy the full SHA 4b8a041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e0f1b9 - Browse repository at this point
Copy the full SHA 3e0f1b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7642f3 - Browse repository at this point
Copy the full SHA c7642f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9160e6c - Browse repository at this point
Copy the full SHA 9160e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for daf1e50 - Browse repository at this point
Copy the full SHA daf1e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2a570 - Browse repository at this point
Copy the full SHA 9c2a570View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff3774 - Browse repository at this point
Copy the full SHA 3ff3774View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b2594 - Browse repository at this point
Copy the full SHA 46b2594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61152e0 - Browse repository at this point
Copy the full SHA 61152e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 778cf2d - Browse repository at this point
Copy the full SHA 778cf2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8793ba8 - Browse repository at this point
Copy the full SHA 8793ba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1adb98 - Browse repository at this point
Copy the full SHA b1adb98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 055f1d7 - Browse repository at this point
Copy the full SHA 055f1d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d41cf8b - Browse repository at this point
Copy the full SHA d41cf8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99eaf43 - Browse repository at this point
Copy the full SHA 99eaf43View commit details -
Configuration menu - View commit details
-
Copy full SHA for c04bc16 - Browse repository at this point
Copy the full SHA c04bc16View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ec366 - Browse repository at this point
Copy the full SHA c2ec366View commit details -
Configuration menu - View commit details
-
Copy full SHA for e26b686 - Browse repository at this point
Copy the full SHA e26b686View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66be029 - Browse repository at this point
Copy the full SHA 66be029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3197f5a - Browse repository at this point
Copy the full SHA 3197f5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe429f - Browse repository at this point
Copy the full SHA 3fe429fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e9c6a - Browse repository at this point
Copy the full SHA 91e9c6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d31d3e - Browse repository at this point
Copy the full SHA 5d31d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e99f706 - Browse repository at this point
Copy the full SHA e99f706View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3b696f - Browse repository at this point
Copy the full SHA b3b696fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bbab07 - Browse repository at this point
Copy the full SHA 2bbab07View commit details -
Configuration menu - View commit details
-
Copy full SHA for b06adad - Browse repository at this point
Copy the full SHA b06adadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9800395 - Browse repository at this point
Copy the full SHA 9800395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26e01ad - Browse repository at this point
Copy the full SHA 26e01adView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ed526 - Browse repository at this point
Copy the full SHA a5ed526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c42c6d - Browse repository at this point
Copy the full SHA 8c42c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3938f8e - Browse repository at this point
Copy the full SHA 3938f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 708a4dd - Browse repository at this point
Copy the full SHA 708a4ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf49ce4 - Browse repository at this point
Copy the full SHA cf49ce4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a282ce9 - Browse repository at this point
Copy the full SHA a282ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b0d07 - Browse repository at this point
Copy the full SHA b4b0d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for c221da1 - Browse repository at this point
Copy the full SHA c221da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f75e5e - Browse repository at this point
Copy the full SHA 2f75e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27ff0eb - Browse repository at this point
Copy the full SHA 27ff0ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d69fc4f - Browse repository at this point
Copy the full SHA d69fc4fView commit details -
Use ListSet to avoid explosion due to duplicate entries
It can be demonstrated by tests/init/neg/inherit-non-hot.scala.
Configuration menu - View commit details
-
Copy full SHA for 7a1e7f3 - Browse repository at this point
Copy the full SHA 7a1e7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e963765 - Browse repository at this point
Copy the full SHA e963765View commit details -
Only report non-trivial cycles
It is necessary for the following code to pass the check: enum Color(val x: Int): case Violet extends Color(Green.x + 1) case Green extends Color(3)
Configuration menu - View commit details
-
Copy full SHA for 13f804f - Browse repository at this point
Copy the full SHA 13f804fView commit details -
The test now has a cyclic object initialization error.
Configuration menu - View commit details
-
Copy full SHA for 5f81ee6 - Browse repository at this point
Copy the full SHA 5f81ee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for eacbd1b - Browse repository at this point
Copy the full SHA eacbd1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf925b2 - Browse repository at this point
Copy the full SHA cf925b2View commit details -
Handle local variables properly
With the environment in values and values in environment, the domain is still finite because the abstract value `OfClass` does not exceed a constant height due to widening.
Configuration menu - View commit details
-
Copy full SHA for 2a73df2 - Browse repository at this point
Copy the full SHA 2a73df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c66251 - Browse repository at this point
Copy the full SHA 1c66251View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ade2e7 - Browse repository at this point
Copy the full SHA 7ade2e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d3ca9d - Browse repository at this point
Copy the full SHA 0d3ca9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8520c2 - Browse repository at this point
Copy the full SHA e8520c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2467571 - Browse repository at this point
Copy the full SHA 2467571View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3ef2c - Browse repository at this point
Copy the full SHA dd3ef2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc0df6 - Browse repository at this point
Copy the full SHA 9bc0df6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b1727e - Browse repository at this point
Copy the full SHA 1b1727eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 602b775 - Browse repository at this point
Copy the full SHA 602b775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c07f62 - Browse repository at this point
Copy the full SHA 3c07f62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfaf0b - Browse repository at this point
Copy the full SHA 5dfaf0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8ba9b - Browse repository at this point
Copy the full SHA 4b8ba9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d27960 - Browse repository at this point
Copy the full SHA 6d27960View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60ef6d1 - Browse repository at this point
Copy the full SHA 60ef6d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a540ee - Browse repository at this point
Copy the full SHA 1a540eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa9779 - Browse repository at this point
Copy the full SHA 0fa9779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a88de - Browse repository at this point
Copy the full SHA 19a88deView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb1f0c2 - Browse repository at this point
Copy the full SHA fb1f0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d273c0f - Browse repository at this point
Copy the full SHA d273c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d9bcb1 - Browse repository at this point
Copy the full SHA 9d9bcb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58fce39 - Browse repository at this point
Copy the full SHA 58fce39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9a744 - Browse repository at this point
Copy the full SHA 1a9a744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bde3a5 - Browse repository at this point
Copy the full SHA 1bde3a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9799d50 - Browse repository at this point
Copy the full SHA 9799d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a23d2c - Browse repository at this point
Copy the full SHA 0a23d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25888f3 - Browse repository at this point
Copy the full SHA 25888f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6040e - Browse repository at this point
Copy the full SHA 6a6040eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c30928 - Browse repository at this point
Copy the full SHA 1c30928View commit details -
Configuration menu - View commit details
-
Copy full SHA for db976fc - Browse repository at this point
Copy the full SHA db976fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4672e4b - Browse repository at this point
Copy the full SHA 4672e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c46833 - Browse repository at this point
Copy the full SHA 5c46833View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb21862 - Browse repository at this point
Copy the full SHA fb21862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 557fbc7 - Browse repository at this point
Copy the full SHA 557fbc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d4518a - Browse repository at this point
Copy the full SHA 4d4518aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e64c6b - Browse repository at this point
Copy the full SHA 3e64c6bView commit details -
Co-authored-by: EnzeXing <58994529+EnzeXing@users.noreply.github.com> Co-authored-by: Ondřej Lhoták <olhotak@uwaterloo.ca>
Configuration menu - View commit details
-
Copy full SHA for 1aacd59 - Browse repository at this point
Copy the full SHA 1aacd59View commit details -
Co-authored-by: Ondřej Lhoták <olhotak@uwaterloo.ca>
Configuration menu - View commit details
-
Copy full SHA for a8d0b7f - Browse repository at this point
Copy the full SHA a8d0b7fView commit details -
Co-authored-by: Ondřej Lhoták <olhotak@uwaterloo.ca>
Configuration menu - View commit details
-
Copy full SHA for 47bbeba - Browse repository at this point
Copy the full SHA 47bbebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d79c1ec - Browse repository at this point
Copy the full SHA d79c1ecView commit details -
Apply suggestions from code review
Co-authored-by: q-ata <24601033+q-ata@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 81e0562 - Browse repository at this point
Copy the full SHA 81e0562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cdfa54 - Browse repository at this point
Copy the full SHA 4cdfa54View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d8531 - Browse repository at this point
Copy the full SHA b5d8531View commit details -
Co-authored-by: EnzeXing <58994529+EnzeXing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0638458 - Browse repository at this point
Copy the full SHA 0638458View commit details -
Configuration menu - View commit details
-
Copy full SHA for daf12de - Browse repository at this point
Copy the full SHA daf12deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb7983 - Browse repository at this point
Copy the full SHA ccb7983View commit details -
Configuration menu - View commit details
-
Copy full SHA for cade1c7 - Browse repository at this point
Copy the full SHA cade1c7View commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e9b194 - Browse repository at this point
Copy the full SHA 8e9b194View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 473e765 - Browse repository at this point
Copy the full SHA 473e765View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce093cb - Browse repository at this point
Copy the full SHA ce093cbView commit details
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.