Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Feb 27, 2020
1 parent d16751d commit da01ed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected void checkForDuplicatedNameDeclaration(NameDeclaration declaration) {
// Don't throw an exception, type tests patterns are tricky to implement
// and given it's a preview feature, and the sym table will be replaced
// for 7.0, it's not useful to support them.
// See https://cr.openjdk.java.net/~briangoetz/amber/pattern-semantics.html#scoping-of-pattern-variables
// See https://cr.openjdk.java.net/~briangoetz/amber/pattern-semantics.html#scoping-of-pattern-variables

// if (declaration instanceof VariableNameDeclaration && getDeclarations().keySet().contains(declaration)) {
// throw new RuntimeException(declaration + " is already in the symbol table");
Expand Down

0 comments on commit da01ed4

Please sign in to comment.