Skip to content

Commit

Permalink
Fix ScalaSettingsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Dec 14, 2024
1 parent 5e54eba commit 9d36dd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ private sealed trait YSettings:
@deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.5.0")
val YreadComments: Setting[Boolean] = BooleanSetting(ForkSetting, "Yread-docs", "Read documentation from tasty.", deprecation = Deprecation.renamed("-Xread-docs"))
@deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.5.0")
val YnoDecodeStacktraces: Setting[Boolean] = BooleanSetting(ForkSetting, "Yno-decode-stacktraces", "Show raw StackOverflow stacktraces, instead of decoding them into triggering operations.", deprecation = Deprecation.renamed("-Xno-decode-stacktraces"))
val YnoDecodeStacktraces: Setting[Boolean] = BooleanSetting(ForkSetting, "Yno-decode-stacktraces", "Show raw StackOverflow stacktraces, instead of decoding them into triggering operations.", deprecation = Deprecation.renamed("-Xno-enrich-error-messages"))
@deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.5.0")
val YnoEnrichErrorMessages: Setting[Boolean] = BooleanSetting(ForkSetting, "Yno-enrich-error-messages", "Show raw error messages, instead of enriching them with contextual information.", deprecation = Deprecation.renamed("-Xno-enrich-error-messages"))
@deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.5.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ScalaSettingsTests:
createTestCase(settings.YdropComments , settings.XdropComments),
createTestCase(settings.YcookComments , settings.XcookComments),
createTestCase(settings.YreadComments , settings.XreadComments),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoDecodeStacktraces),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoEnrichErrorMessages),
createTestCase(settings.YnoEnrichErrorMessages, settings.XnoEnrichErrorMessages),
createTestCase(settings.YdebugMacros , settings.XdebugMacros),
// createTestCase(settings.YjavaTasty , settings.XjavaTasty),
Expand Down Expand Up @@ -134,7 +134,7 @@ class ScalaSettingsTests:
createTestCase(settings.YdropComments , settings.XdropComments),
createTestCase(settings.YcookComments , settings.XcookComments),
createTestCase(settings.YreadComments , settings.XreadComments),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoDecodeStacktraces),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoEnrichErrorMessages),
createTestCase(settings.YnoEnrichErrorMessages, settings.XnoEnrichErrorMessages),
createTestCase(settings.YdebugMacros , settings.XdebugMacros),
// createTestCase(settings.YjavaTasty , settings.XjavaTasty),
Expand Down Expand Up @@ -175,7 +175,7 @@ class ScalaSettingsTests:
createTestCase(settings.YdropComments , settings.XdropComments),
createTestCase(settings.YcookComments , settings.XcookComments),
createTestCase(settings.YreadComments , settings.XreadComments),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoDecodeStacktraces),
createTestCase(settings.YnoDecodeStacktraces , settings.XnoEnrichErrorMessages),
createTestCase(settings.YnoEnrichErrorMessages, settings.XnoEnrichErrorMessages),
createTestCase(settings.YdebugMacros , settings.XdebugMacros),
// createTestCase(settings.YjavaTasty , settings.XjavaTasty),
Expand Down

0 comments on commit 9d36dd1

Please sign in to comment.