[Issue 18829] pragma msg of int incoherent

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 6 17:19:56 UTC 2022


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|normal                      |enhancement

--- Comment #2 from Dennis <dkorpel at live.nl> ---
According to the grammar, a pragma takes an argument list, which is a list of
expressions. D has no first class types; a plain `int` is not an expression.

This is either an enhancement request to expand what pragma msg accepts, or to
improve the error message when passing a basic type as an expression.

--


More information about the Digitalmars-d-bugs mailing list