Custom handling of warnings in method dispatch #6192
Unanswered
hubertp
asked this question in
Work In Progress - Engine
Replies: 3 comments
-
Personally, I feel like we would need to have some way of marking |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would suggest going the same route we do with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#6176 attempts to add custom handling of warning to
Any
. The only problem is that invocations whereself
has warnings is treated specially:There is a good reason why we do that now but it also makes the implementation of
has_warnings
,remove_warnings
andthrow_on_warning
impossible 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