On Sunday, 4 November 2012 at 13:57:07 UTC, Damian wrote:
On Saturday, 3 November 2012 at 17:04:31 UTC, Rob T wrote:
On Saturday, 3 November 2012 at 11:09:48 UTC, Jacob Carlborg
wrote:
I think it would be worth to but in Phobos anyway.
I suppose it works as a temp solution until a real one is
finally implemented, or maybe the mixin behaviour is
considered a bug and can be fixed?
I think __FUNCTION__ should be built into the compiler, with
it's brothers __FILE__ and __LINE__ . This kinda thing is so
useful while debugging and logging :)
I completely agree. Direct compiler support is the only way to
implement this form of reflection reliably for all cases. Also
consider that with D we have an opportunity to implement
reflection features in a more consistent way through a generlized
form of reflection.
--rt