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 }
Adam D. Ruppe via Digitalmars-d-learn Mon, 09 Oct 2017 08:26:10 -0700
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 }