Custom handling of warnings in method dispatch #6192
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
|
Personally, I feel like we would need to have some way of marking |
Beta Was this translation helpful? Give feedback.
-
|
I would suggest going the same route we do with
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
#6176 attempts to add custom handling of warning to
Any. The only problem is that invocations whereselfhas warnings is treated specially:There is a good reason why we do that now but it also makes the implementation of
has_warnings,remove_warningsandthrow_on_warningimpossible onAny.I'd really like to avoid any special handling but for example
almost did the job. This is for illustration purposes, it's not something I would like us to adopt obviously.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions