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



--- Comment #8 from Kenji Hara <[email protected]> 2013-10-01 21:38:20 PDT ---
(In reply to comment #7)
> (In reply to comment #6)
> > Commits pushed to master at https://github.com/D-Programming-Language/dmd
> 
> Sorry, I think the issue is not yet fixed, some of my code like this used to
> work:
> 
> immutable uint[5][] M = [[0, 1, 2, 3, 4]];
> enum Foo : uint { A, B, C, D, E }
> void main() {
>     auto   foos1 = cast(immutable(Foo[5][]))M; // OK
>     static foos2 = cast(immutable(Foo[5][]))M; // Error
> }

https://github.com/D-Programming-Language/dmd/pull/2612

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

Reply via email to