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 1366e96 commit 12c7583Copy full SHA for 12c7583
docs/docs/reference/changed-features/structural-types.md
@@ -156,7 +156,7 @@ i3.range: // error: range is not a member of `Vehicle`
156
The difference is that the type of an anonymous class that does not extend `Selectable` is just formed from the parent type(s) of the class, without
157
adding any refinements. Hence, `i3` now has just type `Vehicle` and the selection `i3.range` gives a "member not found" error.
158
159
-Note that in Scala 2 all local and anonymous classes could have refinements. But
+Note that in Scala 2 all local and anonymous classes could produce values with refined types. But
160
members defined by such refinements could be selected only with the language import
161
`reflectiveCalls`.
162
0 commit comments