[Issue 21884] [betterC] can't compare arrays with -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 30 20:40:48 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21884
--- Comment #1 from Blatnik <blatblatnik at gmail.com> ---
It's also important to point out that fixing the first issue (type[N] ==
type[N]) would also fix the second issue.
The only reason type[N][] == type[N][] doesn't work, is because it internally
tries to compare every element in the two slices, and every element just
happens to be a type[N].
So if type[N] == type[N] is fixed, both types of notation would work.
--
More information about the Digitalmars-d-bugs
mailing list