Skip to content

Commit 10c2945

Browse files
authored
Update README-LanguageDraft-2.0.md
1 parent 75056e5 commit 10c2945

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README-LanguageDraft-2.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,13 @@
131131
```
132132
class Class
133133
static private $classProperty = 4
134+
135+
static method: classMethod()
136+
console.printLine("Class::$classProperty = " + self::$classProperty)
137+
end
134138
end
139+
...
140+
console.printLine("Class::$classProperty = " + Class::$classProperty)
135141
```
136142

137143
## 1.8. Static member methods

0 commit comments

Comments
 (0)