Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 05 [Issue 24791] Expression doesn't work | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24791 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #1 from Nick Treleaven <nick@geany.org> --- The argument must be an AssignExpression. https://dlang.org/spec/pragma.html#msg There is no postfix `*` operator, so it fails to parse. -- |
October 05 [Issue 24791] pragma(msg, BasicType TypeSuffix) doesn't parse | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24791 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Expression doesn't work |pragma(msg, BasicType | |TypeSuffix) doesn't parse -- |
October 11 [Issue 24791] pragma(msg, BasicType TypeSuffix) doesn't parse | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24791 --- Comment #2 from Manu <turkeyman@gmail.com> --- I don't really care for reasons; this is an obvious bug: pragma(msg, int); // > int pragma(msg, int*); // > int* alias X = int; pragma(msg, X); // > int pragma(msg, X*); // error! Edge cases like this just randomly break meta-programming. We especially depend on pragma(msg) to understand and debug meta-programming. -- |
Copyright © 1999-2021 by the D Language Foundation