Release D 2.102.0

jmh530 john.michael.hall at gmail.com
Thu Feb 2 17:16:00 UTC 2023


On Thursday, 2 February 2023 at 15:56:56 UTC, Steven 
Schveighoffer wrote:
> [snip]
>
> Previously, it would search in each path, and look for the 
> files in the order of di, then d, then i, then c. So based on 
> the order of the paths, it might find a matching C file before 
> a matching D file in a later import path.
>
> Now, it searches all the paths for D files first, then all the 
> paths for C files second, ensuring that it will prefer D files.
>
> The spec I don't think covers how files are searched for module 
> definitions. The compiler command line docs have some 
> information on what files are expected to contain, but doesn't 
> seem to specify priorities or how they are searched. I don't 
> know if it should be covered in the spec or the compiler docs.
>
> -Steve

Thanks. The new way seems to make more sense to me.


More information about the Digitalmars-d-announce mailing list