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
@@ -34,7 +34,7 @@ public synchronized DynamicObject getFrozenString(Rope rope) {

if (string == null) {
string = StringOperations.createString(context, rope);
string.set(Layouts.FROZEN_IDENTIFIER, true);
string.define(Layouts.FROZEN_IDENTIFIER, true);
frozenStrings.put(rope, string);
}

1 comment on commit 13599c0

@eregon
Copy link
Member

@eregon eregon commented on 13599c0 Apr 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This caught me quite a few times too and it's not so trivial to debug.

Sorry, something went wrong.

Please sign in to comment.