We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2778835 commit 16a3517Copy full SHA for 16a3517
compiler/src/dotty/tools/dotc/config/Settings.scala
@@ -69,6 +69,10 @@ object Settings:
69
def validateSettingString(name: String): Unit =
70
assert(settingCharacters.matches(name), s"Setting string $name contains invalid characters")
71
72
+ /** List of setting-value pairs that are required for another setting to be valid.
73
+ * For example, `s = Setting(..., depends = List(YprofileEnabled -> true))`
74
+ * means that `s` requires `YprofileEnabled` to be set to `true`.
75
+ */
76
type SettingDependencies = List[(Setting[?], Any)]
77
78
case class Setting[T: ClassTag] private[Settings] (
0 commit comments