Thread overview
[Issue 16709] [Reg 2.068] Error: common.to at common.d conflicts with common.to at common.d
[Issue 16709] Error: common.to at common.d conflicts with common.to at common.d
Nov 21, 2016
Vladimir Panteleev
Nov 21, 2016
Vladimir Panteleev
Nov 21, 2016
Timothee Cour
Nov 21, 2016
Timothee Cour
Nov 27, 2016
Martin Nowak
Feb 16, 2020
Dlang Bot
Feb 16, 2020
Dlang Bot
November 21, 2016
https://issues.dlang.org/show_bug.cgi?id=16709

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Priority|P1                          |P3
                 CC|                            |thecybershadow@gmail.com

--
November 21, 2016
https://issues.dlang.org/show_bug.cgi?id=16709

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Mac OS X                    |All

--
November 21, 2016
https://issues.dlang.org/show_bug.cgi?id=16709

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com

--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> ---
update:

fun.d(19): Error: common.to at /tmp/common.d conflicts with common.to at
/tmp/common.d

so it refers to the same file

--
November 21, 2016
https://issues.dlang.org/show_bug.cgi?id=16709

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

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

--- Comment #2 from Timothee Cour <timothee.cour2@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)

--
November 27, 2016
https://issues.dlang.org/show_bug.cgi?id=16709

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu
            Summary|Error: common.to at         |[Reg 2.068] Error:
                   |common.d conflicts with     |common.to at common.d
                   |common.to at common.d       |conflicts with common.to at
                   |                            |common.d

--
February 16, 2020
https://issues.dlang.org/show_bug.cgi?id=16709

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #10793 "fix Issue 16709 - [Reg 2.068] Error: common.to at common.d conflicts …" fixing this issue:

- fix Issue 16709 - [Reg 2.068] Error: common.to at common.d conflicts with common.to at common.d

https://github.com/dlang/dmd/pull/10793

--
February 16, 2020
https://issues.dlang.org/show_bug.cgi?id=16709

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10793 "fix Issue 16709 - [Reg 2.068] Error: common.to at common.d conflicts …" was merged into master:

- 340807a16dd14c7f61d1df9d3ded3aecd59263e0 by Walter Bright:
  fix Issue 16709 - [Reg 2.068] Error: common.to at common.d conflicts with
common.to at common.d

https://github.com/dlang/dmd/pull/10793

--