Weird bug in IFTI
John Colvin
john.loughran.colvin at gmail.com
Tue Jul 30 16:01:46 PDT 2013
On Tuesday, 30 July 2013 at 22:22:38 UTC, JS wrote:
> http://dpaste.dzfl.pl/cdabf9fa
>
> But adding one more parameter gives an error!
>
> http://dpaste.dzfl.pl/a5cfac37
>
> Template has no effect simply because I added an parameter with
> a default?!?!?!?
Definitely some compiler logic problems there with the error
message at least.
What I'd like to see:
pragma(msg) should be immune from "has no effect" errors as it
does have an observable effect at compile-time.
More information about the Digitalmars-d-learn
mailing list