Compiler bug? regression for the template function call syntax

rmc rjmcguire at gmail.com
Fri May 31 07:32:11 PDT 2013


Hi all,

Not sure if this is a bug so thought I'd post here.

It is very common to use a function template without the call 
"()" expecting that it will be called. However with the latest 
compilers hibernated only compiles when one leaves out the 
-property dmd command line option.

The call:
getColumnName!(MemberTest, "simple")

Has to be changes to:
getColumnName!(MemberTest, "simple")()

Now do that everywhere a template function is used.

Any help?

Thanks.
Rory


More information about the Digitalmars-d-learn mailing list