ceylon/ceylon-compiler — Issue #364: problem with continue in a switch
Author: gavinking
Created: 2012-02-03 17:16:59+00:00
State: open
Labels: BUG

The following results in an error from javac.

```
void test() {
value enums = {1, 2.0};
for (e in enums) {
String result;
switch (e)
case (is Integer) {
result="int";
}
case (is Float) {
continue;
}
print(result);
}
}
```

If I replace `continue` with `break` or `return`, the error goes away.