https://d.puremagic.com/issues/show_bug.cgi?id=12242
Summary: conflict error with public imports
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Timothee Cour <[email protected]> 2014-02-24
16:59:52 PST ---
test.d:
module test;
public:
import std.string;
import std.algorithm;
main.d:
import test;
import std.string;
void main(){ auto a=" af ".strip;}
dmd -c -o- main.d
main.d(4): Error: test.strip at test.d conflicts with std.string.strip(C)(C[]
str) if (isSomeChar!C) at phobos/std/string.d(1268)
Remove any of the 4 imports and it'll compile.
Also, there's no line number in 'at test.d'
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------