OpenD update - null pointer error shipped, among others
Adam D. Ruppe
destructionator at gmail.com
Tue Jun 10 17:13:42 UTC 2025
On Tuesday, 10 June 2025 at 16:06:04 UTC, Dejan Lekic wrote:
> Could some of the upstream D guys merge the `with(auto x =
> thing) { ... }` change?
Here's how we implemented it:
https://github.com/opendlang/opend/commit/44f7ce5f3e1ebd8a8dc3630b7cbfa8416eb0c271
And while looking at the log of that file, here's the heredoc
outdent patch:
https://github.com/opendlang/opend/commit/c2937ab3719ed0cb9589e0baa6f52a84a56ddb07
(and i forgot to mention 0o777 octal literals are in opend too,
again, a very small, self-contained patch:
https://github.com/opendlang/opend/commit/7a5f6c283181e4bb0a1ed076c4050a833bb54cd6 )
These are nice because the behavior they change was an error
previously and it has almost no interaction with anything else,
so minimal risk of breakage.
and the interpolated identifier thing without parens also a
simple patch:
https://github.com/opendlang/opend/commit/9ddff7a6ddd3bb563d996392b26e1e16fb334285
but that is a slight behavior change so a bit more risk of
breakage, though it has never been a problem in practice to opend
users.
> I am waiting for this for years!
The opend download link is right here right now :)
You can most likely adapt your current stuff to it by downloading
then using `dub --compiler=/path/to/opend/bin/dmd` or similar
too; the opend system is all self-contained so you can use it
in-place without overwriting any other versions you have.
More information about the Digitalmars-d-announce
mailing list