Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve migration messages, make the compiler print the migration version by default, adjust usage of @migration to correspond to @deprecated and make -Xmigration configurable with a threshold #4990
Imported From: https://issues.scala-lang.org/browse/SI-4990?orig=1
I only have one problem with that solution left:
Paul suggested that I change -Xmigration from BooleanSetting to ChoiceSetting, but although I can set a default value scala/scalac don't accept "-Xmigration" without a value anymore. I would have expected that "-Xmigration" would be accepted and the default value to be chosen if no argument to -Xmigration was given.
Maybe someone can give me a hint on how to make -Xmigration behave that way ...