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


Denis <verylonglogin....@gmail.com> changed:

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


--- Comment #8 from Denis <verylonglogin....@gmail.com> 2012-01-24 15:09:27 MSK 
---
As bearophile wrote in issue 6060 description:
>in 5713 I don't like an error message (and I'd like the compiler to enforce 
>the presence of the cases for 0,1, and 2)

So this issue requires the following function be compilable _iff_ every `case`
is present:
---
void f(int x) {
    final switch (x % 3) {
        case -2:
        case -1:
        case 0:
        case 1:
        case 2:
    }
}
---

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

Reply via email to