Created
October 2, 2011 16:24
-
-
Save geovanisouza92/1257598 to your computer and use it in GitHub Desktop.
Precedência de operadores em Ares: Não existem operadores. A precedência é dada a partir de uma cláusula nos métodos simbólicos.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method :+ (Left: Object): self take by MAXINT - 1; | |
begin | |
# do add | |
end | |
method :??? (Left: Object): self; take by 10; | |
begin | |
# do realy? method... (dummy) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment