mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
Merge pull request #313 from acook/patch-1
Fixing a couple of typos in the classes docs.
This commit is contained in:
@ -328,7 +328,7 @@ constructors, etc.
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
All state stored in instances is stored in *fields*. Each field has a named
|
All state stored in instances is stored in *fields*. Each field has a name
|
||||||
that starts with an underscore.
|
that starts with an underscore.
|
||||||
|
|
||||||
:::wren
|
:::wren
|
||||||
@ -503,7 +503,7 @@ This means you can do `super` calls inside a constructor:
|
|||||||
**TODO: Integrate better into page. Should explain this before mentioning
|
**TODO: Integrate better into page. Should explain this before mentioning
|
||||||
super above.**
|
super above.**
|
||||||
|
|
||||||
Sometimes you want to invoke a method on yourself, but only methods defined in
|
Sometimes you want to invoke a method on yourself, but using methods defined in
|
||||||
one of your [superclasses](classes.html#inheritance). You typically do this in
|
one of your [superclasses](classes.html#inheritance). You typically do this in
|
||||||
an overridden method when you want to access the original method being
|
an overridden method when you want to access the original method being
|
||||||
overridden.
|
overridden.
|
||||||
|
|||||||
Reference in New Issue
Block a user