DScanner 0.12.1 stopped working
singingbush
singingbush at hotmail.com
Wed Jul 6 20:04:47 UTC 2022
On Wednesday, 6 July 2022 at 19:02:05 UTC, jmh530 wrote:
> On Wednesday, 6 July 2022 at 18:37:45 UTC, singingbush wrote:
>> [snip]
>>
>> I've been hurt numerous times over the years by breaking
>> changes in D so started maintaining a list of version checks
>> that have been helpful in keeping projects compile with
>> multiple language versions.
>>
>> https://gist.github.com/SingingBush/3a2a6d2a41a81c1bafb26e5f69f823c0
>>
>> It would be great if more packages in dub repo used such
>> mechanisms.
>
> Have you made use of toolchain requirements?
> https://dub.pm/package-format-sdl.html#toolchain-requirements
Yes but that's about limiting which compilers are supported.
While that's helpful it's not the same thing. Checking for
language level in code or the existence of some package allows
for different approaches to be used and therefore expand
compatibility.
More information about the Digitalmars-d
mailing list