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

          Issue ID: 15150
           Summary: [REG2.068.1] Public selective import causes conflict
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: thecybersha...@gmail.com

//// a.d ////

enum { x }

//// b.d ////

import a : x;

//// c.d ////

import a;
import b;

enum y = x;

/////////////

c.d(4): Error: a.x at a.d(1) conflicts with a.x at b.d(1)

Introduced in https://github.com/D-Programming-Language/dmd/pull/4918

--

Reply via email to