[Issue 14753] New: pragma(inline) hides the alias "string"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 30 18:11:36 PDT 2015


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

          Issue ID: 14753
           Summary: pragma(inline) hides the alias "string"
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: jiki at red.email.ne.jp

D2.068 is adding new pragma(inline).
But this code does not work with D2.068-b1.

pragma(inline)
void test(string) { }
------------------------------------
Error: undefined identifier 'string'


I think this is a critical or blocker bug.

--


More information about the Digitalmars-d-bugs mailing list