[Issue 18698] static foreach + __traits(allMembers, moduleName)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 1 13:44:11 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18698

--- Comment #13 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
>Think D2.042
easy deal: http://downloads.dlang.org/releases/2010/

[pts/44:ketmar]:D/_old_dmd% ./dmd2/linux/bin/dmd
Digital Mars D Compiler v2.042
Copyright (c) 1999-2010 by Digital Mars written by Walter Bright

[pts/44:ketmar]:D/_old_dmd% ./dmd2/linux/bin/dmd -c test.d
test.d(2): Declaration expected, not 'foreach'
test.d(2): Declaration expected, not '__traits'
test.d(5): unrecognized declaration

exactly the same error with 2.039. should i go even further back in time? or,
fast-forward to 2.059: still the same thing. it. never. worked.

--


More information about the Digitalmars-d-bugs mailing list