DDT-IDE / DDT

DDT is an Eclipse-based IDE for the D programming language:
http://ddt-ide.github.io/
101 stars 16 forks source link

Template instance UDAs #70

Closed eigenraven closed 9 years ago

eigenraven commented 10 years ago

This code compiles with dmd but shows syntax error Unexpected token after "X", while trying to parse declaration or block.

module main;

template X(int Y){}

@X!3 
void main(){}

in DDT. When I replace @X!3 with @(X!3) there are no syntax errors anymore.