www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14301] New: [2.067-rc1] Private symbols of module conflicts


          Issue ID: 14301
           Summary: [2.067-rc1] Private symbols of module conflicts with
                    public from another
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: NCrashed gmail.com

Compiles on 2.066.1:

module test;

class Cache {} 

import test;
import std.algorithm;

void main() 
    Cache cache;

source/app.d(6): Error: module std.algorithm struct
std.algorithm.iteration.Cache(R, bool bidir) is private
source/app.d(6): Error: test.Cache at source/test.d(3) conflicts with
std.algorithm.iteration.Cache(R, bool bidir) at

Mar 17 2015