www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21740] New: Typeof mixin regression with v2.096

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 puremagic.com
          Reporter: kinke 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

--
Mar 21