January 20, 2020 [Issue 19292] Mixin expressions should take an argument list the same as pragma(msg) does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19292 FeepingCreature <default_357-line@yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |default_357-line@yahoo.de --- Comment #10 from FeepingCreature <default_357-line@yahoo.de> --- Why does this allow evaluating types as their stringof? That may be fine for a debug tool like pragma(msg, but it's horrible for a mixin because it does the very, very wrong thing. Ie. if you have a template with a parameter T instantiated with int, then if you decide to use it as a mixin argument, you'll get "int", not "T" - which is fine, but rapidly becomes not fine when it's a private type in another module. -- |
April 02, 2021 [Issue 19292] Mixin expressions should take an argument list the same as pragma(msg) does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19292 --- Comment #11 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #12339 "[dmd-cxx] Backport fixes and trivial features from upstream dmd" was merged into dmd-cxx: - 4cf3e2c00b7f7d636f50290db49efe618698d5c2 by Walter Bright: [dmd-cxx] fix Issue 19292 - Mixin expressions should take an argument list the same as pragma(msg) does https://github.com/dlang/dmd/pull/12339 -- |
Copyright © 1999-2021 by the D Language Foundation