http://d.puremagic.com/issues/show_bug.cgi?id=7397


Kenji Hara <k.hara...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from Kenji Hara <k.hara...@gmail.com> 2012-01-29 17:28:12 PST ---
(In reply to comment #1)
> The compiler's new behavior is correct, it avoids the infamous "array slicing"
> problem - in this case, it avoids const data being incorrectly typed as
> immutable.
> 
> To fix the example:
> 
>   void buildPath(C)(const(C)[][] paths...)
> 
> becomes:
> 
>   void buildPath(C)(const(C[])[] paths...)

Walter's fix is right, but we should apply the fix to Phobos.
So this issue is still opened, because it is a Phobos issue, not dmd's.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to