Severe 2.084 regression when using staticArray on array of struct with class and bool member

Nicholas Wilson iamthewilsonator at hotmail.com
Tue Feb 12 14:19:12 UTC 2019


On Tuesday, 12 February 2019 at 14:06:44 UTC, Per Nordlöw wrote:
> When I remove the member `b` in `S` the faulty behavior goes 
> away. A regression I presume.
>
> Has anybody already filed this in Bugzilla?
>
> The regression happens on dmd 2.084.1 and master but not in 
> latest ldc beta.

This appears to be a DMD only issue that has never worked (works 
in both ldc and ldc-beta):

2.079.1 to 2.081.2: Failure with output: onlineapp.d(16): Error: 
module `std.array` import `staticArray` not found
            2.082.1: Failure with output:
-----
core.exception.AssertError at onlineapp.d(26): Assertion failure
----------------
??:? _d_assertp [0x44b585]
onlineapp.d:26 _Dmain [0x43da4d]
7FFF6ABE6570
7F9104966000
-----

            2.083.1: Failure with output:
-----
core.exception.AssertError at onlineapp.d(26): Assertion failure
----------------
??:? _d_assertp [0x44f21d]
onlineapp.d:26 _Dmain [0x4404cd]
null
7FB5316C5000
-----

Since      2.084.0: Failure with output:
-----
core.exception.AssertError at onlineapp.d(26): Assertion failure
----------------
??:? _d_assertp [0x44f484]
onlineapp.d:26 _Dmain [0x4409fd]
7FFDEE9C7A70
7EFD5A03B000
-----




More information about the Digitalmars-d mailing list