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

Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Kenji Hara <[email protected]> ---
> Created attachment 1519 [details]
> A source file demonstrating the issue

A small demonstration code can be inlined in the comment.

import std.stdio;
import std.concurrency;

void main()
{
    auto f = &foo;      // No warnings
    f();                // No warnings
    spawn(&foo);        // No warnings
    foo();              // Warning
}

deprecated void foo()
{
    writeln("Yep. I'm a deprecated function!");
}

And, it's surely a dup of issue 7322.

*** This issue has been marked as a duplicate of issue 7322 ***

--

Reply via email to