[Issue 13909] A problem with immutable zip + assocArray
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Jan  1 18:12:12 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=13909
Peter Alexander <peter.alexander.au at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.alexander.au at gmail.co
                   |                            |m
--- Comment #1 from Peter Alexander <peter.alexander.au at gmail.com> ---
typeof(aa3) = immutable(string[string])
typeof(aa4) = immutable(string[const(string)])
You are swapping the order to (value, key) in your zip, so you are trying to
create an associative array with const values (not keys), which isn't possible
with assocArray.
--
    
    
More information about the Digitalmars-d-bugs
mailing list