D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1929 - concatenation of multi-dimensional arrays fails when holding static arrays
Summary: concatenation of multi-dimensional arrays fails when holding static arrays
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Linux
: P2 normal
Assignee: No Owner
URL: http://lists.puremagic.com/pipermail/...
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2008-03-18 13:22 UTC by Tobias Kieslich
Modified: 2015-06-09 01:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Tobias Kieslich 2008-03-18 13:22:46 UTC
en detail:
http://lists.puremagic.com/pipermail/digitalmars-d/2008-March/033942.html
in short:
	int [2][] b =[[0,1],[2,3]];
	b ~= [4,5];    // wrong result as b holds now:
	// [[0 1] [2 3] [4 5] [0 0]]

works fine in 1.028 and gdc as confirmed by some users
Comment 1 Don 2009-04-22 10:04:00 UTC
Works for me D2.029 and 1.042.
Comment 2 Don 2009-09-10 14:18:16 UTC
This was fixed in DMD2.022 or earlier.