mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
c623d2906b
As @tclem pointed out, the TryStatement token was being consumed too early. We also ran into errors within the `catches` clause where we required a block but were asking for an expression.
10 lines
159 B
Java
10 lines
159 B
Java
public class Bar {
|
|
public void foo() {
|
|
try {
|
|
System.out.println(1/0);
|
|
} catch (Exception e) {
|
|
e.printStackTrace(System.out);
|
|
}
|
|
}
|
|
}
|