How to make commented code to compile?

Adam D. Ruppe destructionator at gmail.com
Mon Oct 9 15:22:54 UTC 2017


On Monday, 9 October 2017 at 15:15:48 UTC, Zhuo Nengwen wrote:
> test(cast(ushort) 1, (m, c) => {
>   writeln(m);
>   writeln(m);
> });

Just remove the =>

(m, c) {
   // code here
}


More information about the Digitalmars-d-learn mailing list