Closed erikkaplun closed 10 years ago
This:
public class TestCls { public void doSmth(int i) { switch (i) { case 3: return; } } }
gets converted to:
class TestCls { def doSmth(i: Int) i match { // ERROR: '=' expected but identifier found case 3 => return } }
...the generated method body should either be wrapped in { and } or prefixed with =.
{
}
=
This:
gets converted to:
...the generated method body should either be wrapped in
{
and}
or prefixed with=
.