Skip to content

Commit

Permalink
Updated the Ant example to use explicit This, thanks maximeg!
Browse files Browse the repository at this point in the history
  • Loading branch information
fredreichbier committed Apr 25, 2010
1 parent a1dc576 commit 288972d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/language/syntax.rst
Expand Up @@ -294,8 +294,8 @@ static fields in classes
Ant: class {
total = 0 : static Int
init: func { total += 1 }
getTotal: static func -> Int { total }
init: func { This total += 1 }
getTotal: static func -> Int { This total }
}
main: func {
Expand Down

0 comments on commit 288972d

Please sign in to comment.