Fix typos in spec-docs
This commit is contained in:
committed by
Nikolay Krasko
parent
5d08df1bf7
commit
33961acb8d
@@ -58,7 +58,7 @@ Every class **must** have a constructor. The following is an error:
|
||||
class Parent
|
||||
class Child : Parent { }
|
||||
```
|
||||
The error is: "superclass must be initialized". This class has a primary constructor, but does not initialize its superclass in teh class header.
|
||||
The error is: "superclass must be initialized". This class has a primary constructor, but does not initialize its superclass in the class header.
|
||||
## Syntax for explicit constructors
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user