mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +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);
|
|
}
|
|
}
|
|
}
|