Fully qualify constructor extension#461
Fully qualify constructor extension#461ChrisRackauckas merged 1 commit intoJuliaArrays:masterfrom jpthiele:patch-1
Conversation
Extending constructors without module specification can lead to undefined behaviour in case of name clashes. This is fixed by fully qualifying `ArrayInterface.BandedMatrixIndex` when it is extended in the banded matrix ext.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #461 +/- ##
=======================================
Coverage 62.71% 62.71%
=======================================
Files 12 12
Lines 574 574
=======================================
Hits 360 360
Misses 214 214 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks! It would be good to test this better but it's such an edge case to hit. |
Is there a reasonable way to catch and save warnings thrown by a function call without interrupting/stopping it? |
Modify the warn logger or redirect stderr? |
Extending constructors without module specification can lead to undefined behaviour in case of name clashes. This is fixed by fully qualifying
ArrayInterface.BandedMatrixIndexwhen it is extended in the banded matrix ext.