[Issue 21378] New: `pragma(inline)` should allow not only a bool literal but any CTFE expression that converts to bool

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 12 09:02:44 UTC 2020


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

          Issue ID: 21378
           Summary: `pragma(inline)` should allow not only a bool literal
                    but any CTFE expression that converts to bool
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

details in NG discussion :
https://forum.dlang.org/post/htcqemkoacwyszadsrqj@forum.dlang.org

--


More information about the Digitalmars-d-bugs mailing list