On Wednesday, 23 August 2017 at 16:17:57 UTC, SrMordred wrote:
No structs in -betterC ???
I haven't tried the latest iteration of betterC yet, but the
longstanding problem is that the compiler generates TypeInfo
instances for structs, and TypeInfos are classes, which inherit
from Object, which are implemented in the D runtime. If you're
using the current release of D, the workarounds are to include an
implementation of Object so that classes work, or hack out the
TypeInfo at link time.