Skip to content

Commit

Permalink
Fix incorrect method example in comment. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Sep 6, 2016
1 parent a24ac5c commit 60e6d62
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@
import static org.jruby.ir.IRFlags.*;

// Instruction representing Ruby code of the form: "a[i] = 5"
// which is equivalent to: a.[](i,5)
// which is equivalent to: a.[]=(i,5)
public class AttrAssignInstr extends NoResultCallInstr {
public static AttrAssignInstr create(Operand obj, String attr, Operand[] args, boolean isPotentiallyRefined) {
if (!containsArgSplat(args) && args.length == 1) {
Expand Down

0 comments on commit 60e6d62

Please sign in to comment.