Bounty for -minimal compiler flag
Steven Schveighoffer
schveiguy at yahoo.com
Fri Feb 14 07:34:16 PST 2014
On Fri, 14 Feb 2014 08:09:21 -0500, Daniel Murphy
<yebbliesnospam at gmail.com> wrote:
> TLS, dynamic cast, profiling, static this/static ~this, assert, -cov,
> -profile, class == and synchronized all rely on druntime code.
>
> Also, D classes will fail to link without Object.
I think classes heavily depend on druntime, I believe Walter was
indicating they would not be allowed (which trivially excludes class ==)
> Should `array.length = x` be an error or just unsafely set the length?
It should be an error, you can do this unsafely:
array = array.ptr[0..x];
-Steve
More information about the Digitalmars-d-announce
mailing list