Skip to content

Commit 9a99bca

Browse files
makenowjustAry Borenszweig
authored and
Ary Borenszweig
committedDec 1, 2016
Add missing ArrayLiteral#[]= doc
1 parent c5cf484 commit 9a99bca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/compiler/crystal/macros.cr

+4
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,10 @@ module Crystal::Macros
536536
def [](index : NumberLiteral) : ASTNode
537537
end
538538

539+
# Similar to `Array#[]=`.
540+
def []=(index : NumberLiteral, value : ASTNode)
541+
end
542+
539543
# Similar to `Array#+`.
540544
def +(other : ArrayLiteral) : ArrayLiteral
541545
end

0 commit comments

Comments
 (0)
Please sign in to comment.