-
Notifications
You must be signed in to change notification settings - Fork 743
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
Update isolated analysis in the init method #40757
Conversation
Update isolated analysis in the init method
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #40757 +/- ##
=============================================
+ Coverage 0.00% 76.43% +76.43%
- Complexity 0 52435 +52435
=============================================
Files 9 2863 +2854
Lines 35 197402 +197367
Branches 0 25596 +25596
=============================================
+ Hits 0 150886 +150886
- Misses 35 38171 +38136
- Partials 0 8345 +8345
☔ View full report in Codecov by Sentry. |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
…ina-lang into fix-isolated-in-init
Sync with master
Sync with master
Consider the following example. Is it correct to access isolated class IsolatedClass {
private int[][] arr;
function init(int[] node) {
self.arr = [];
function v = function () {
self.arr.push(node);
};
}
} |
Seems like there is an issue here, but is also the case in non- |
BLangAssignment assignment = (BLangAssignment) parent; | ||
|
||
BLangExpression lhsExpr = assignment.varRef; |
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.
We can remove the new line in L2634?. (Ignorable)
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.
LGTM!. Only minor ignorable comment.
Sync with master
SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Purpose
$title.
Fixes #40736
Check List