[Issue 5788] Return [] array

2013-07-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5788 --- Comment #3 from bearophile_h...@eml.cc 2013-07-03 11:19:34 PDT --- currently this code: void main() { int[] emptyArray = []; } Produces: __Dmain comdat L0: pushEAX mov EAX,offset FLAT:_D11TypeInfo_Ai6__initZ

[Issue 5788] Return [] array

2011-04-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5788 --- Comment #2 from Vladimir 2011-04-01 19:08:43 PDT --- Erm, never mind, [] still creates a null array. I just remembered I had to do something more tricky in my code to make empty non-null arrays. https://github.com/CyberShadow/RABCDAsm/blo

[Issue 5788] Return [] array

2011-04-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5788 Vladimir changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 fro