[Issue 21740] Typeof mixin regression with v2.096

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 21 19:59:40 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21740

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #12 from kinke <kinke at gmx.net> ---
Scratch the type thing above, I wasn't thinking clearly.

(In reply to Boris Carvajal from comment #10)
> So all it's reduced to whether mixin should be able to parse a void
> expression or not.

Yes, but I'm not sure it's worth it, as the new behaviour seems indeed
consistent. FWIW, this 'issue' newly manifested in
https://github.com/dlang/dmd/blob/98ec2d4946f69c74d008e2a97c3a9e7252da9a1e/test/runnable/test42.d#L2776
for LDC when merging 2.096, i.e., some edge-case test and no 'real' code.
(Still works with DMD for another, possibly invalid reason apparently.)

Closing.

--


More information about the Digitalmars-d-bugs mailing list