June 03
https://issues.dlang.org/show_bug.cgi?id=24583

          Issue ID: 24583
           Summary: di generator emits return scope and scope return in
                    wrong order
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: alphaglosined@gmail.com

Currently the .di generator order scope and return correctly.

Actual: ``nothrow @nogc return scope @trusted
sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8
sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8.append(const(char)[]...)``
Generated: ``nothrow @nogc scope return @trusted
sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8
sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8.append(const(char)[]...)``

This blocks all usage of the .di generator.

--