[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 16 08:17:14 UTC 2018


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

--- Comment #8 from Mike Franklin <slavo5150 at yahoo.com> ---
(In reply to Rainer Schuetze from comment #7)
> I think the main issue is that the compiler does not distinguish between
> information needed at compile time and what's necessary inside the object
> file.

Ok, I understand now:  `enum b = typeid(size_t) is typeid(uint);` should be
evaluated at compile time, and I the -betterC limitations should only apply at
runtime.

--


More information about the Digitalmars-d-bugs mailing list