[Issue 21740] New: Typeof mixin regression with v2.096

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 21 12:51:51 UTC 2021


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

          Issue ID: 21740
           Summary: Typeof mixin regression with v2.096
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kinke at gmx.net

void foo() {}
pragma(msg, typeof(mixin(foo())));

* Output with v2.095:
  bla.d-mixin-2(2): Error: expression expected, not <
  _error_
* Output with v2.096:
  void

--


More information about the Digitalmars-d-bugs mailing list