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 a5bac26 commit 7fde702Copy full SHA for 7fde702
docs/docs/reference/changed-features/structural-types.md
@@ -131,7 +131,7 @@ than other classes. Here is an example:
131
trait Vehicle extends reflect.Selectable {
132
val wheels: Int
133
}
134
-val i3 = Vehicle with { // i3: Vehicle { val range: Int }
+val i3 = new Vehicle { // i3: Vehicle { val range: Int }
135
val wheels = 4
136
val range = 240
137
0 commit comments