We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9b5cb commit f112273Copy full SHA for f112273
docs/docs/reference/changed-features/structural-types.md
@@ -128,7 +128,7 @@ the database access example given at the beginning of this document.
128
Local and anonymous classes that extend `Selectable` get more refined types
129
than other classes. Here is an example:
130
```scala
131
-class Vehicle extends reflect.Selectable {
+trait Vehicle extends reflect.Selectable {
132
val wheels: Int
133
}
134
val i3 = new Vehicle { // i3: Vehicle { val range: Int }
0 commit comments