Bug 1929 – concatenation of multi-dimensional arrays fails when holding static arrays

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-03-18T13:22:00Z
Last change time
2015-06-09T01:14:35Z
Keywords
wrong-code
Assigned to
nobody
Creator
tobias

Comments

Comment #0 by tobias — 2008-03-18T13:22:46Z
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 by clugdbug — 2009-04-22T10:04:00Z
Works for me D2.029 and 1.042.
Comment #2 by clugdbug — 2009-09-10T14:18:16Z
This was fixed in DMD2.022 or earlier.