Skip to content

Commit

Permalink
The accept method should never raise.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius authored and Prathamesh Sonpatki committed Sep 18, 2012
1 parent 83a8c97 commit c530c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jruby/ast/ArgumentNode.java
Expand Up @@ -60,7 +60,7 @@ public NodeType getNodeType() {
} }


public Object accept(NodeVisitor visitor) { public Object accept(NodeVisitor visitor) {
throw new RuntimeException("ArgumentNode should never be evaluated"); return null;
} }


/** /**
Expand Down

0 comments on commit c530c84

Please sign in to comment.