envy for "Writing Go Packages"
BCS
none at anon.com
Tue May 11 07:53:46 PDT 2010
Hello BCS,
> Hello Walter,
>
>> BCS wrote:
>>
>>> My program imports lib A and B. Lib A imports lib C and asks for
>>> version "X". Lib B imports lib C and asks for version "!X". Who
>>> wins?
>>>
>> Compilation error.
>>
> Exactly. If there were a way for A to ask for X or Y and B to ask for
> Y or Z than the solution is easy: Y.
>
And to finish the thought; a system that only allows a program to ask for
a single version is worse than one that doesn't allow any or allows many.
--
... <IXOYE><
More information about the Digitalmars-d
mailing list