-vgc Info ok?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 19 06:25:43 PDT 2015


On Tue, 19 May 2015 13:17:15 +0000, anonymous wrote:

> On Monday, 18 May 2015 at 14:34:38 UTC, ketmar wrote:
>> it can throw "out of range" error, which is `new`ed.
> 
> Array access can also throw RangeError, but -vgc and @nogc don't mind
> that:
> ----
> void main() @nogc {
>      int[] a;
>      auto b = a[0];
> }
> ----

hm. now either this is bug, or "-vgc" should not warn about AA access. 
will you fill an issue in bugzilla?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150519/297907ea/attachment-0001.sig>


More information about the Digitalmars-d-learn mailing list