Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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) {

0 comments on commit a00ce58

Please sign in to comment.