libdparse icon indicating copy to clipboard operation
libdparse copied to clipboard

An error in declaration could be detected

Open ghost opened this issue 9 years ago • 1 comments

For

const a (0);

no error is emitted. DMD parser finds

Error: unexpected ( in declarator

ghost avatar Jul 07 '16 11:07 ghost

Only in DeclarationOrStatement, i.e function bodies.

ghost avatar Sep 24 '17 05:09 ghost