Implicit conversion of struct with methods to immutable in pure function fails
Simen Kjærås
simen.kjaras at gmail.com
Mon Jul 16 12:00:57 UTC 2018
On Monday, 16 July 2018 at 11:43:03 UTC, Timoses wrote:
> Why does this fail?
It doesn't. Not using DMD 2.081.1 under Windows, at least. I
tried adding a bitfield since you mentioned it, but it compiles
nicely for me. Which version of DMD are you using, and are you
having the issues with the exact code you posted here?
--
Simen
More information about the Digitalmars-d-learn
mailing list