[Issue 10123] Can't subtract positive number from length of array of struct with disabled default construction

2022-11-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10123

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |INVALID

--


[Issue 10123] Can't subtract positive number from length of array of struct with disabled default construction

2020-08-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10123
Issue 10123 depends on issue 10124, which changed state.

Issue 10124 Summary: Array length increases on subtraction of a big number 
instead of throwing RangeError
https://issues.dlang.org/show_bug.cgi?id=10124

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--


[Issue 10123] Can't subtract positive number from length of array of struct with disabled default construction

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10123

Basile-z  changed:

   What|Removed |Added

 CC|b2.t...@gmx.com |

--


[Issue 10123] Can't subtract positive number from length of array of struct with disabled default construction

2019-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10123

Basile-z  changed:

   What|Removed |Added

 CC||b2.t...@gmx.com

--- Comment #2 from Basile-z  ---
I don't think this is a valid issue. When an array is shrink, its memory might
be copied to another location. a struct with self reference would then become
unsafe.

You cannot speculate on the implementation details of the GC allocator.

--


[Issue 10123] Can't subtract positive number from length of array of struct with disabled default construction

2013-05-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10123



--- Comment #1 from Denis Shelomovskij  2013-05-20 
15:53:15 MSD ---
Looks like Issue 10124 have to be fixed first.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---