[Issue 5161] Selective import results in conflicting definition.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 25 14:40:13 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5161


Piotr Szturmaj <pszturmaj at tlen.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pszturmaj at tlen.pl
           Platform|Other                       |x86
            Version|D1                          |D2
           Severity|normal                      |regression


--- Comment #2 from Piotr Szturmaj <pszturmaj at tlen.pl> 2011-07-25 14:40:09 PDT ---
I can confirm this bug in 2.054.

Other test case (phobos+dmd 2.054):
--
module main;

import std.socket;
import core.time;

void test(Duration d) {}

void main() {}
--

main.d(6): Error: std.socket.Duration at
D:\dmd2\windows\bin\..\..\src\phobos\std\socket.d(44) conflicts with
core.time.Duration at
D:\dmd2\windows\bin\..\..\src\druntime\import\core\time.di(35)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list