version(number) is completely useless

Walter Bright newshound2 at digitalmars.com
Sun Jul 24 02:24:39 UTC 2022


On 7/23/2022 1:08 PM, rikki cattermole wrote:
> 
> On 24/07/2022 7:53 AM, Walter Bright wrote:
>> Awkward since you cannot import versions from other modules.
> 
> Perhaps we should be changing that.

1. then you can't tell which versions are active
2. circular imports become hell


> It does seem to be a unnecessary limitation given that an enum can be used in 
> its place.

Yes, and when that was done in druntime it produced baffling issues because of 
circular imports. The problems got dumped in my lap. I yanked it all out and did 
it right. No problems since.


More information about the Digitalmars-d mailing list