Skip to content

Commit

Permalink
Fix open-classes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrowski-adam authored Oct 1, 2023
1 parent 99ca930 commit 3eb354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/other-new-features/open-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ A class that is neither `abstract` nor `open` is similar to a `sealed` class: it

## Migration

`open` is a new modifier in Scala 3. To allow cross compilation between Scala 2.13 and Scala 3.0 without warnings, the feature warning for ad-hoc extensions is produced only under `-source future`. It will be produced by default from Scala 3.1 on.
`open` is a new modifier in Scala 3. To allow cross compilation between Scala 2.13 and Scala 3.0 without warnings, the feature warning for ad-hoc extensions is produced only under `-source future`. It will be produced by default [from Scala 3.4 on](https://github.com/lampepfl/dotty/issues/16334).

0 comments on commit 3eb354b

Please sign in to comment.