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


[email protected] changed:

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


--- Comment #7 from [email protected] 2013-09-03 17:26:12 PDT ---
(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
}

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

Reply via email to