Skip to content

Commit

Permalink
function missing static
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Oct 15, 2020
1 parent 9e1c43d commit c3daada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ A static function/property can be referenced with contract name without an insta
return a + Foo.N;
}
function double(int x): int {
static function double(int x): int {
return Foo.incByN(x) + this.i;
}
}
Expand Down

0 comments on commit c3daada

Please sign in to comment.