← Back to index
|
Original Bugzilla link
Bug 10308 – Allow selective imports in import lists
Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-08T15:06:00Z
Last change time
2013-06-08T15:55:26Z
Assigned to
nobody
Creator
andrei
Comments
Comment #0
by andrei — 2013-06-08T15:06:04Z
This doesn't work and should by the rule of least astonishment: import std.algorithm : copy, std.range;
Comment #1
by peter.alexander.au — 2013-06-08T15:40:44Z
import foo : bar, baz; What happens if there is both a module named baz, and a symbol in module foo named baz?
Comment #2
by andrei — 2013-06-08T15:41:40Z
I'm not that bright.
Comment #3
by bearophile_hugs — 2013-06-08T15:55:26Z
(In reply to comment #2) > I'm not that bright. Don't worry, keep trying! :-)