www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18162] New: DMD seg fault on alias this

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

          Issue ID: 18162
           Summary: DMD seg fault on alias this
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

From Daniel Kozak
import std.stdio; auto xxx(T)() { return this; } struct S { mixin xxx!(typeof(this)); alias xxx this; } void foo(S pos) { writeln(pos); } void main(){} --
Jan 02 2018