Skip to content

Commit

Permalink
Add missing ArrayLiteral#[]= doc
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust authored and asterite committed Dec 1, 2016
1 parent c5cf484 commit 9a99bca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/compiler/crystal/macros.cr
Expand Up @@ -536,6 +536,10 @@ module Crystal::Macros
def [](index : NumberLiteral) : ASTNode
end

# Similar to `Array#[]=`.
def []=(index : NumberLiteral, value : ASTNode)
end

# Similar to `Array#+`.
def +(other : ArrayLiteral) : ArrayLiteral
end
Expand Down

0 comments on commit 9a99bca

Please sign in to comment.