Skip to content

Commit e0ae4ba

Browse files
Merge pull request #2 from bradfordlynch/patch-3
Updated page metadata to include in tour
2 parents 1cffbce + 4ef9e20 commit e0ae4ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

_tour/self-types.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ title: Self-type
44

55
discourse: true
66

7-
tutorial: scala-tour
8-
categories: tour
7+
partof: scala-tour
8+
99
num: 25
1010
next-page: implicit-parameters
1111
previous-page: compound-types
12+
topics: self-types
1213
prerequisite-knowledge: nested-classes, mixin-class-composition
14+
15+
redirect_from: "/tutorials/tour/self-types.html"
1316
---
1417
Self-types are a way to declare that a trait must be mixed into another trait, even though it doesn't directly extend it. That makes the members of the dependency available without imports.
1518

0 commit comments

Comments
 (0)