Getting action on your favorite D issues (2021)
ag0aep6g
anonymous at example.com
Thu Jan 14 15:58:34 UTC 2021
About half a year ago, Walter made a thread about "Getting action on
your favorite D issues"[1]. There, he suggested to "keep a list of
bugzilla issue links" and "bring them up now and then". I replied with
my top five at the time.
Let's see what progress was made on my favorite bugs:
> 1) The DIP 1000 implementation has a glaring accepts-invalid bug with `pure` functions.
> https://issues.dlang.org/show_bug.cgi?id=20150
I've made a DMD pull request that competes with Walter's, but neither of
them is going anywhere, because fixing Phobos is a chore.
> 2) "bool can be both true and false"
> https://issues.dlang.org/show_bug.cgi?id=20148
There was some discussion, but nothing of substance came from it.
> 3) DMD's codegen for the BT (bit test) instruction is all kinds of wrong.
> https://issues.dlang.org/show_bug.cgi?id=18750
Most of the sub-issues have been fixed. Walter's pull requests came
shortly after the forum thread. Bringing the issue up seems to have
worked. One sub-issue is still open, though. So this is not fully fixed yet.
> 4) "import doesn't verify module declaration"
> https://issues.dlang.org/show_bug.cgi?id=15086
No progress at all.
> 5) std.stdio tries converting between different UTF variants, but fails horribly.
> https://issues.dlang.org/show_bug.cgi?id=18789 and
> https://issues.dlang.org/show_bug.cgi?id=18801
Fixed by myself.
Since one issue has been fixed, I'm adding a new #5 to round out my
favorites:
5) `immutable delegate()` and `immutable delegate() immutable` are
considered equal but treated differently
https://issues.dlang.org/show_bug.cgi?id=16058
In a nutshell:
void main()
{
int x = 1;
immutable void delegate() dg1 = { ++x; };
immutable void delegate() immutable dg2 = { ++x; };
/* How does this line compile? */
}
[1] https://forum.dlang.org/post/rbeab9$20l1$1@digitalmars.com
More information about the Digitalmars-d
mailing list