On Wednesday, 1 April 2015 at 14:07:14 UTC, Jacob Carlborg wrote:
On 2015-04-01 00:02, Idan Arye wrote:
I think you and I work under different assumptions of the
goals for this
feature. If we only want unittest names to be something that
can be
printed when the unittest runner runs the unittests, than a
UDA with a
string is indeed preferable. If we want something that tools
can
actually use to refer to a specific unittest, we need a proper
identifier(yes, even though it can be implemented in library
code
because D is Turing-complete...)
The tools should, mostly, use the file and line information.
So now we just need a way to keep a line number unmodified when
you add lines above it...