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

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
                 OS|Windows                     |All

--- Comment #3 from Walter Bright <[email protected]> ---
A simpler demonstration of the problem:

  void main()
  {
    {
        int temp(T)() { return 3; }

        temp!int();
    }

    {
        int temp(T)() { return 4; }

        temp!int();
    }
  }

which affects all targets. Both functions are generated, the mangled names of
the two functions are the same, and on non-MSCOFF targets one of the two
functions is picked. Changing this to All platforms.

--

Reply via email to