Closed eigenraven closed 9 years ago
This code compiles with dmd but shows syntax error Unexpected token after "X", while trying to parse declaration or block.
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.
@X!3
@(X!3)
This code compiles with dmd but shows syntax error
Unexpected token after "X", while trying to parse declaration or block.
in DDT. When I replace
@X!3
with@(X!3)
there are no syntax errors anymore.