Merge pull request #313 from acook/patch-1

Fixing a couple of typos in the classes docs.
This commit is contained in:
Bob Nystrom
2015-11-25 08:59:16 -08:00

View File

@ -328,7 +328,7 @@ constructors, etc.
## 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.
:::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
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
an overridden method when you want to access the original method being
overridden.