Skip to content

Commit 70d7994

Browse files
authored
Update docs/_spec/05-classes-and-objects.md
1 parent fb9cc43 commit 70d7994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_spec/05-classes-and-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ The definition of `F` in the last line is implicitly expanded to
808808
class F(using iname: ImpliedName) extends
809809
Object, // implicitly inserted
810810
ImpliedGreeting(using iname), // implicitly inserted
811-
ImpliedFormalGreeting(using iname)
811+
ImpliedFormalGreeting
812812
```
813813
Due to rule 4, `F` is required to also extend `ImpliedGreeting` and pass arguments to it, however note that because `ImpliedGreeting` has only context parameters the extension was added implicitly.
814814

0 commit comments

Comments
 (0)