http://d.puremagic.com/issues/show_bug.cgi?id=4337
--- Comment #1 from Justin Spahr-Summers <[email protected]> 2010-06-17 01:36:37 CDT --- (In reply to comment #0) > void main () { > int[dstring] foo; > > foo = [ > "hello"d : 5 > ]; > > assert("hello"d in foo); > } > > This assertion fails on dmd 2.047 on OS X. Using foo["hello"d] = 5; or > changing > the key type to string works. Forgot to add that the keys and values are still iterable with foreach() - it's just lookup by hash (index or "in" syntax) that fails. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
