You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/reference/contextual/context-bounds.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ def g[T <: B : C](x: T): R = ...
32
32
To ease migration, context bounds in Dotty map in Scala 3.0 to old-style implicit parameters
33
33
for which arguments can be passed either with a `(using ...)` clause or with a normal application. From Scala 3.1 on, they will map to context parameters instead, as is described above.
34
34
35
-
If the source version is `future` and the `-migration` command-line option is set, any pairing of an evidence
35
+
If the source version is `future-migration`, any pairing of an evidence
36
36
context parameter stemming from a context bound with a normal argument will give a migration
37
37
warning. The warning indicates that a `(using ...)` clause is needed instead. The rewrite can be
0 commit comments