[Issue 14301] New: [2.067-rc1] Private symbols of module conflicts with public from another
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 17 07:41:51 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14301
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 at puremagic.com
Reporter: NCrashed at gmail.com
Compiles on 2.066.1:
test.d:
```
module test;
class Cache {}
```
app.d:
```
import test;
import std.algorithm;
void main()
{
Cache cache;
}
```
Output:
```
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
/usr/include/dmd/phobos/std/algorithm/iteration.d(295)
```
--
More information about the Digitalmars-d-bugs
mailing list