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

Dmitry Olshansky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #8 from Dmitry Olshansky <[email protected]> ---
import core.thread;

void main()
{
        int g;
        int run()
        {
                for(int i = 0; i < 1000; ++i)
                        ++g;
                return 0;
        }
        auto t = new Thread(run);
        t.start;
        t.wait;
}

Now it doesn't fail and I fail to see how we fix the general since optional
parens became a thing after UFCS was finally fully implemented.

--

Reply via email to