We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 592a892 commit dc10c53Copy full SHA for dc10c53
compiler/src/dotty/tools/dotc/config/Settings.scala
@@ -73,6 +73,10 @@ object Settings:
73
def validateSettingString(name: String): Unit =
74
assert(settingCharacters.matches(name), s"Setting string $name contains invalid characters")
75
76
+ /** List of setting-value pairs that are required for another setting to be valid.
77
+ * For example, `s = Setting(..., depends = List(YprofileEnabled -> true))`
78
+ * means that `s` requires `YprofileEnabled` to be set to `true`.
79
+ */
80
type SettingDependencies = List[(Setting[?], Any)]
81
82
case class Setting[T: ClassTag] private[Settings] (
0 commit comments