January 20, 2020 [Issue 20519] New: string mixin with arglist evaluates types as stringof | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20519 Issue ID: 20519 Summary: string mixin with arglist evaluates types as stringof Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: default_357-line@yahoo.de Since https://issues.dlang.org/show_bug.cgi?id=19292 , mixin() behaves like pragma(msg). pragma(msg), for convenience, transforms types into their stringof. This is a terrible behavior for mixin, because the stringof will generally not be visible from the point where you're mixing the string in. This functionality should be disabled for string mixin arguments. -- |
Copyright © 1999-2021 by the D Language Foundation