Andrej Mitrovic:
Unfortunately yes, the way the compiler is written right now
would
mean the feature would have to be implemented as a series of
hacks.
Perhaps if the implementation simplifies or we get another
compiler..
:)
You could show somewhere what are the implementation
simplifications you need to implement that feature cleanly.
Perhaps Kenji will be interested. Issue 5004 is not a
fashion-based enhancement request. Don't let the status quo stop
the improvement of the D compilers :-)
Bye,
bearophile