June 16, 2013 [Issue 10384] New: Array bounds checks are not working in some array-wise expressions | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10384 Summary: Array bounds checks are not working in some array-wise expressions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: rride.a@gmail.com --- Comment #0 from Alexander Ivaniuk <rride.a@gmail.com> 2013-06-16 10:10:38 PDT --- The following code should generate runtime exception during evaluation of c[2] = b[2] + a[2], but it doesn't happen. auto b = [1, 2]; auto a = [2, 3, 4]; int c [] = new int[3]; c[] = b[] + a[]; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 28, 2013 [Issue 10384] Array bounds checks are not working in some array-wise expressions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexander Ivaniuk | http://d.puremagic.com/issues/show_bug.cgi?id=10384 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2013-06-28 02:31:59 PDT --- *** This issue has been marked as a duplicate of issue 2547 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation