WIP: Allow disabling exception trace info via --DRT-traceContext=off#86
WIP: Allow disabling exception trace info via --DRT-traceContext=off#86kinke wants to merge 1 commit intoldc-developers:ldcfrom
Conversation
|
Yeah, that's what I meant. The name of the option doesn't really describe its purpose, though. On second thought: as there are little dependencies on this module, putting the initialization into a shared constructor executes it in arbitrary order with other shared constructors. So if there is an exception in an earlier constructor, the option still has its default. A user supplied shared constructor that sets the I think it would behave more consistent with an explicit BTW: Some time in the past I even hacked around the execution of the initializer in |
To be defined (upstream then), incl. value string (
I looked into
Absolutely, I was also thinking about something like this (checking in I'll keep this PR here for the time being just so that we don't forget about this potential performance booster. |
This should be more or less what @rainers suggested here. Seems to work after a single quick test. Should probably be upstreamed.