Skip to content

Commit

Permalink
[Truffle] No such thing as a FrozenError.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Mar 19, 2015
1 parent 9feb932 commit a00ce58
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -641,7 +641,7 @@ public RubyException runtimeError(String message, Node currentNode) {

public RubyException frozenError(String className, Node currentNode) {
CompilerAsserts.neverPartOfCompilation();
return runtimeError(String.format("FrozenError: can't modify frozen %s", className), currentNode);
return runtimeError(String.format("can't modify frozen %s", className), currentNode);
}

public RubyException argumentError(String message, Node currentNode) {
Expand Down

0 comments on commit a00ce58

Please sign in to comment.