-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix: import of private symbols affects the type inference #308
Conversation
4b456b1
to
2b55a60
Compare
7cb154d
to
c5488e6
Compare
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.
Many thanks for finding this and providing the fix, this looks fantastic!
I've just a few stylistic pointers but otherwise very happy to merge this as soon as possible.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
=======================================
Coverage 95.09% 95.09%
=======================================
Files 165 165
Lines 35282 35301 +19
=======================================
+ Hits 33552 33571 +19
Misses 1730 1730
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c5488e6
to
f6d98b7
Compare
f6d98b7
to
9b8ac61
Compare
Thank you for great suggestions! I have applied them. No problem, the pleasure is on our side (IPSL), as we are actively using loki in our work. |
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.
Many thanks for implementing the suggestions. This looks really great now!
(At some point I'd be curious to learn some details about your work at IPSL if you're willing to share, e.g., by email).
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.
Fully agree, this looks great. Many thanks @quepas
ecwam regression fails due to missing permissions from an external contribution. Verified compatibility offline. |
As described in #309, imports of private symbols destroys the type inference. This pull request propose a simple check of symbols access specificators to filter out the private symbols.
TODO: