On 03/14/2013 09:11 PM, Walter Bright wrote:
On 3/14/2013 12:51 PM, Timon Gehr wrote:
On 03/14/2013 08:46 PM, Walter Bright wrote:
On 3/14/2013 10:20 AM, Dmitry Olshansky wrote:
Maybe we then should help people that routinely instantiate their
templates to
see if they compile.
We already have a tool to do this:
dmd -cov test.d
But it does not work.
See this recent D.learn thread:
http://forum.dlang.org/thread/wwjaeexnyaeqnqsqy...@forum.dlang.org
-cov works fine for templates containing executable code.
Then it is not what Dmitry was asking for. Anyway -cov is near-useless
for me because it does not support string mixins (execution attributed
to wrong code line) and executable code coming from template mixins
(sometimes counted, sometimes not).