[Issue 15179] Local imports cause outer imports to be excluded from overload set

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 8 19:04:14 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |druntime
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
This is caused by druntime change.

1. Local import does not make overload sets with the symbols come from outer
imports. About that there's no specification and implementation change in
2.068.

2. In 2.068, a free function 'to' is added to core.time module.

https://github.com/D-Programming-Language/druntime/pull/1190

In the test code, it's hiding std.conv.to function and compilation fails.

--


More information about the Digitalmars-d-bugs mailing list