Bug 11445 – adding double[string] causes crash

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-05T09:09:00Z
Last change time
2013-11-15T22:52:29Z
Keywords
ice, pull
Assigned to
nobody
Creator
dbdavidson

Comments

Comment #0 by dbdavidson — 2013-11-05T09:09:34Z
The following causes a crash. Probably not the best idea to call it. Not finding a merge for associative arrays, my hope was adding them would do it. import std.stdio; void main() { double[string] a = [ "foo" : 22.2 ]; double[string] b = [ "bar" : 22.2 ]; writeln(a+b); }
Comment #1 by yebblies — 2013-11-14T23:12:15Z
Comment #2 by github-bugzilla — 2013-11-15T22:14:37Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1e49b6a428352d4af24ed4430fabe78a701e4944 Fix Issue 11445 - adding double[string] causes crash https://github.com/D-Programming-Language/dmd/commit/978757826845d4a382335c8d6c98685c8f5cd7fe Merge pull request #2773 from yebblies/issue11445 Issue 11445 - adding double[string] causes crash