Skip to content

Commit

Permalink
[Truffle] Throw UnsupportedOperationException on unexpected parse tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Nov 7, 2016
1 parent ec02e80 commit ce8fcd0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2455,7 +2455,7 @@ public RubyNode visitMultipleAsgnNode(MultipleAsgnParseNode node) {

result = new ElidableResultNode(sequence(context, source, sourceSection, sequence), environment.findLocalVarNode(tempRHSName, source, sourceSection));
} else {
result = nilNode(source, sourceSection);
throw new UnsupportedOperationException();
}

final RubyNode ret = new DefinedWrapperNode(context, fullSourceSection, context.getCoreStrings().ASSIGNMENT, result);
Expand Down

0 comments on commit ce8fcd0

Please sign in to comment.