Skip to content

Commit 000e2f1

Browse files
Typo fix
Co-authored-by: Julien Richard-Foy <[email protected]>
1 parent df02d85 commit 000e2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/_posts/2020-07-27-26th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can read more about the new syntax in the [documentation](https://dotty.epfl
4141
Local and anonymous classes that extend `Selectable` get more refined types than other classes. For example:
4242

4343
```scala
44-
class Vehicle extends reflect.Selectable {
44+
trait Vehicle extends reflect.Selectable {
4545
val wheels: Int
4646
}
4747
val i3 = new Vehicle { // i3: Vehicle { val range: Int }

0 commit comments

Comments
 (0)