Skip to content

Commit bcaac78

Browse files
oderskysmarter
andauthored
Update docs/docs/reference/contextual/context-bounds.md
Co-authored-by: Guillaume Martres <[email protected]>
1 parent 7657ec9 commit bcaac78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/context-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def g[T <: B : C](x: T): R = ...
3232
To ease migration, context bounds in Dotty map in Scala 3.0 to old-style implicit parameters
3333
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.
3434

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
3636
context parameter stemming from a context bound with a normal argument will give a migration
3737
warning. The warning indicates that a `(using ...)` clause is needed instead. The rewrite can be
3838
done automatically under `-rewrite`.

0 commit comments

Comments
 (0)