ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Update ddocYear test workaround for LDC 1.20.x #110

Closed WebDrake closed 3 years ago

WebDrake commented 3 years ago

DMD 2.088.x introduced a nasty bug where the expected year in compiler test output was hardcoded. DMD 2.090.x "fixed" this by updating the hardcoded year from 2019 to 2020. This patch correspondingly tweaks our own workaround introduced in d80460670e77175ae0e42ec578b1727726b313db, which should be possible to remove with LDC 1.21+ (the upstream bug was fixed properly in DMD 2.091.x).

WebDrake commented 3 years ago

Note that this should not affect the viability of any actual built snap package, but it will impact whether or not we can rebuild the 1.20.x package from next year on (should we wish to do so for any reason).