DIP10005: Dependency-Carrying Declarations is now available for community feedback

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 12:33:51 PST 2016


On Wed, Dec 14, 2016 at 02:30:29PM -0500, Andrei Alexandrescu via Digitalmars-d wrote:
> On 12/14/2016 12:32 PM, H. S. Teoh via Digitalmars-d wrote:
> > 	import {
> > 		std.range : isInputRange,
> > 		std.traits : isNum = isNumeric
> > 	}
> 
> This seems ambiguous. In
> 
> import { a : b, c.d }
> 
> did you meant to import c.d from a, or a different module?
> 
[...]

That's easy to fix:

	import { a : b, c;  d: e, f; }


T

-- 
There is no gravity. The earth sucks.


More information about the Digitalmars-d mailing list