You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: community-build/src/scala/dotty/communitybuild/projects.scala
+8-8
Original file line number
Diff line number
Diff line change
@@ -362,7 +362,7 @@ object projects:
362
362
project ="shapeless-3",
363
363
sbtTestCommand ="testJVM; testJS",
364
364
sbtDocCommand = forceDoc("typeable", "deriving"),
365
-
scalacOptions ="-source"::"3.3"::SbtCommunityProject.scalacOptions.filter(flag => flag !="-Ysafe-init"&& flag!="-Wsafe-init"), // due to -Xfatal-warnings
365
+
scalacOptions ="-source"::"3.3"::SbtCommunityProject.scalacOptions.filter(_!="-Wsafe-init"), // due to -Xfatal-warnings
366
366
)
367
367
368
368
lazyvalxmlInterpolator=SbtCommunityProject(
@@ -429,7 +429,7 @@ object projects:
429
429
sbtTestCommand ="unitTests/test",
430
430
// Adds <empty> package
431
431
sbtDocCommand ="coreJVM/doc",
432
-
scalacOptions =SbtCommunityProject.scalacOptions.filter(flag => flag !="-Ysafe-init"&& flag!="-Wsafe-init"),
scalacOptions =SbtCommunityProject.scalacOptions.filter(flag => flag !="-Ysafe-init"&& flag!="-Wsafe-init") // disable -Ysafe-init or -Wsafe-init, due to -Xfatal-warning
543
+
scalacOptions =SbtCommunityProject.scalacOptions.filter(_!="-Wsafe-init") // disable -Ysafe-init or -Wsafe-init, due to -Xfatal-warning
valXmacroSettings:Setting[List[String]] =MultiStringSetting(AdvancedSetting, "Xmacro-settings", "setting1,setting2,..settingN", "List of settings which exposed to the macros")
361
361
362
-
@deprecated(message ="Superseded by -Wshadow, Scheduled for removal in 3.6.0", since ="3.5.0")
descr ="Enable or disable specific `lint` warnings",
368
-
choices =List(
369
-
ChoiceWithHelp("all", ""),
370
-
ChoiceWithHelp("private-shadow", "Warn if a private field or class parameter shadows a superclass field"),
371
-
ChoiceWithHelp("type-parameter-shadow", "Warn when a type parameter shadows a type already in the scope"),
372
-
),
373
-
default =Nil,
374
-
deprecation =Deprecation.renamed("-Wshadow"),
375
-
)
362
+
@deprecated(message ="Superseded by -Wshadow, Scheduled for removal", since ="3.5.0")
363
+
valXlint:Setting[_] =BooleanSetting(AdvancedSetting, "Xlint", "Enable or disable specific warnings", deprecation =Some(Deprecation("Use -Wshadow to enable shadowing lints. Scheduled for removal.")))
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
459
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
472
460
valYnoGenericSig:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-generic-signatures", "Suppress generation of generic signatures for Java.", deprecation =Deprecation.renamed("-Xno-generic-signatures"))
473
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
461
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
474
462
valYdumpclasses:Setting[String] =StringSetting(ForkSetting, "Ydump-classes", "dir", "Dump the generated bytecode to .class files (useful for reflective compilation that utilizes in-memory classloaders).", default ="", deprecation =Deprecation.renamed("-Xdump-classes"))
475
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
463
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
476
464
valYjarCompressionLevel:Setting[Int] =IntChoiceSetting(ForkSetting, "Yjar-compression-level", "compression level to use when writing jar files", Deflater.DEFAULT_COMPRESSION to Deflater.BEST_COMPRESSION, Deflater.DEFAULT_COMPRESSION, deprecation =Deprecation.renamed("-Xjar-compression-level"))
477
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
465
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
478
466
valYkindProjector:Setting[String] =ChoiceSetting(ForkSetting, "Ykind-projector", "[underscores, enable, disable]", "Allow `*` as type lambda placeholder to be compatible with kind projector. When invoked as -Ykind-projector:underscores will repurpose `_` to be a type parameter placeholder, this will disable usage of underscore as a wildcard.", List("disable", "", "underscores"), "disable", legacyArgs =true, deprecation =Deprecation.renamed("-Xkind-projector"))
479
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
467
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
471
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
484
472
valYreadComments:Setting[Boolean] =BooleanSetting(ForkSetting, "Yread-docs", "Read documentation from tasty.", deprecation =Deprecation.renamed("-Xread-docs"))
485
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
473
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
486
474
valYnoDecodeStacktraces:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-decode-stacktraces", "Show raw StackOverflow stacktraces, instead of decoding them into triggering operations.", deprecation =Deprecation.renamed("-Xno-decode-stacktraces"))
487
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
475
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
488
476
valYnoEnrichErrorMessages: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"))
489
-
@deprecated(message ="Lifted to -X, Scheduled for removal in 3.6.0", since ="3.5.0")
477
+
@deprecated(message ="Lifted to -X, Scheduled for removal.", since ="3.5.0")
490
478
valYdebugMacros:Setting[Boolean] =BooleanSetting(ForkSetting, "Ydebug-macros", "Show debug info when quote pattern match fails", deprecation =Deprecation.renamed("-Xdebug-macros"))
491
479
492
-
// @deprecated(message = "Lifted to -X, Scheduled for removal in 3.8.0", since = "3.7.0")
480
+
// @deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.7.0")
493
481
// val YjavaTasty: Setting[Boolean] = BooleanSetting(ForkSetting, "Yjava-tasty", "Pickler phase should compute TASTy for .java defined symbols for use by build tools", aliases = List("-Ypickle-java"), preferPrevious = true, deprecation = Deprecation.lifted("-Xjava-tasty"))
494
-
// @deprecated(message = "Lifted to -X, Scheduled for removal in 3.8.0", since = "3.7.0")
482
+
// @deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.7.0")
495
483
// val YearlyTastyOutput: Setting[AbstractFile] = OutputSetting(ForkSetting, "Yearly-tasty-output", "directory|jar", "Destination to write generated .tasty files to for use in pipelined compilation.", NoAbstractFile, aliases = List("-Ypickle-write"), preferPrevious = true, deprecation = Deprecation.lifted("-Xearly-tasty-output"))
496
-
// @deprecated(message = "Lifted to -X, Scheduled for removal in 3.8.0", since = "3.7.0")
484
+
// @deprecated(message = "Lifted to -X, Scheduled for removal.", since = "3.7.0")
497
485
// val YallowOutlineFromTasty: Setting[Boolean] = BooleanSetting(ForkSetting, "Yallow-outline-from-tasty", "Allow outline TASTy to be loaded with the -from-tasty option.", deprecation = Deprecation.lifted("-Xallow-outline-from-tasty"))
498
486
499
487
// Deprecated: lifted from -Y to -W
500
-
@deprecated(message ="Lifted to -W, Scheduled for removal in 3.6.0", since ="3.5.0")
488
+
@deprecated(message ="Lifted to -W, Scheduled for removal.", since ="3.5.0")
501
489
valYcheckInit:Setting[Boolean] =BooleanSetting(ForkSetting, "Ysafe-init", "Ensure safe initialization of objects.", deprecation =Deprecation.renamed("-Wsafe-init"))
502
490
503
491
// Deprecated: Scheduled for removal
504
-
@deprecated(message ="Scheduled for removal in 3.6.0", since ="3.5.0")
505
-
valYoutputOnlyTasty:Setting[Boolean] =BooleanSetting(ForkSetting, "Youtput-only-tasty", "Used to only generate the TASTy file without the classfiles", deprecation =Deprecation.removed("3.6.0"))
492
+
@deprecated(message ="Scheduled for removal.", since ="3.5.0")
493
+
valYoutputOnlyTasty:Setting[Boolean] =BooleanSetting(ForkSetting, "Youtput-only-tasty", "Used to only generate the TASTy file without the classfiles", deprecation =Deprecation.removed())
0 commit comments