On Friday, 12 September 2025 at 08:36:42 UTC, realhet wrote:
Is this a feature or a bug? :D
You will have to start writing much weirder code than this to
find compiler bugs in D because when a bug is fixed, a new test
is created to make sure it doesn't regress. Surface-level
features are usually pretty well tested unless they're literally
brand new.
Here are some fun bugs I've found:
- https://github.com/dlang/dmd/issues/21627
- https://github.com/dlang/dmd/issues/20850
The most fun is when the compiler crashes, like
[here](https://github.com/dlang/dmd/issues/21823)