Skip to content

Conversation

EugeneFlesselle
Copy link
Contributor

This makes errorOrMigrationWarning monotonic from the sourceVersion onto ok < warn < error

For example, ForComprehensionPatternWithoutCase:

  • became an error in 3.4,
  • was hence a warning in 3.4-migration,
  • but it should still be an error in 3.5-migration.

This makes `errorOrMigrationWarning` monotonic
from the sourceVersion onto ok < warn < error

For example, ForComprehensionPatternWithoutCase:
- became an error in 3.4,
- was hence a warning in 3.4-migration,
- but it should still be an error in 3.5-migration.
@EugeneFlesselle EugeneFlesselle marked this pull request as ready for review July 29, 2024 18:35
@EugeneFlesselle EugeneFlesselle merged commit 0000d23 into scala:main Jul 31, 2024
28 checks passed
@EugeneFlesselle EugeneFlesselle deleted the migration-warn branch July 31, 2024 16:22
@WojciechMazur WojciechMazur added this to the 3.6.0 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants