[Issue 11845] New: selective (and renamed) imports clash with local symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 30 00:58:34 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11845
Summary: selective (and renamed) imports clash with local
symbols
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: monarchdodra at gmail.com
--- Comment #0 from monarchdodra at gmail.com 2013-12-30 00:58:32 PST ---
//----
import foo = std.algorithm : splitter;
void splitter(){};
void main()
{
}
//----
Error: function main.splitter conflicts with alias main.splitter at main.d(1)
I don't see why there is a conflict here. Both should be able to coexist.
Marking as blocker as this is getting in the way of correctly fixing 6730: We
need to have a deprecated import alias co-exist with existing functions...
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list