Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/org/jruby/prism/builder/IRBuilderPrism.java
Original file line number Diff line number Diff line change
Expand Up @@ -2532,6 +2532,7 @@ protected void buildAssocs(Label testEnd, Operand original, Variable result, Has
// FIXME: only build literals (which are guaranteed to build without raising).
Operand key = build(assoc.key);
call(result, d, "key?", key);
copy(errorString, key); // Sets to symbol which will not be nil or a regular string.
cond_ne_true(testEnd, result);

String method = hasRest ? "delete" : "[]";
Expand Down
Loading