[Issue 18267] array comparison broken in 2.078.3
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 23 07:24:49 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=18267
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #7 from RazvanN <razvan.nitu1305 at gmail.com> ---
@Atilla I have just tried your initial example and it compiles fine with the
latest version of master.
What I did:
For the following files:
=================================
// app.d
void main() { import oops; }
=================================
// oops.d
<attached file>
struct Location {
string file;
}
struct JSONValue {
union PayloadUnion {
JSONValue[] array;
}
alias Payload = TaggedAlgebraic!PayloadUnion;
Payload payload;
Location location;
alias payload this;
}
struct TaggedAlgebraic(U)
....
========================
Commands:
% dmd -g -c oops.d
% dmd -g -debug app.d oops.o
I get a binary. So this seems to have been fixed. I am going to preemptively
close as WORKSFORME, but please reopen if I'm missing something.
--
More information about the Digitalmars-d-bugs
mailing list