[Issue 16709] Error: common.to at common.d conflicts with common.to at common.d

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 21 10:05:13 PST 2016


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

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |
           Priority|P3                          |P1
           Severity|enhancement                 |regression

--- Comment #2 from Timothee Cour <timothee.cour2 at gmail.com> ---
ok here's a reproducible bug, turns out it's a regression:

fun.d:
import common3;
import common2;

void test(){
  auto a="12".to!int;
}

common3.d:
module common3;
public import common2:to;

common2.d:
module common2;
public:
import std.conv;
import std.datetime;

$dmd_X -c -o- fun.d
fun.d(XX): Error: common2.to at common2.d conflicts with common2.to at
common2.d

$dmd_X --version
DMD64 D Compiler v2.072.0

worked with: DMD64 D Compiler v2.067.1
failed with: DMD64 D Compiler v2.068.0 (and DMD64 D Compiler v2.072.0)

--


More information about the Digitalmars-d-bugs mailing list