Fix typos in spec-docs

This commit is contained in:
Marcin Moskala
2018-11-25 23:23:45 +03:00
committed by Nikolay Krasko
parent 5d08df1bf7
commit 33961acb8d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
```