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
valXmacroSettings:Setting[List[String]] =MultiStringSetting(AdvancedSetting, "Xmacro-settings", "setting1,setting2,..settingN", "List of settings which exposed to the macros")
361
361
362
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.")))
363
+
valXlint:Setting[_] =BooleanSetting(AdvancedSetting, "Xlint", "Enable or disable specific warnings", deprecation =Some(Deprecation("Use -Wshadow to enable shadowing lints. Scheduled for removal.")), ignoreInvalidArgs =true)
assert(newSetting.isDefaultIn(conf.sstate), s"Setting $deprecatedArgument was forwarded to ${newSetting.name}, when it should be ignored because first option was erroreus")
150
150
151
+
// -Xlint was handled in a special way when it was added, making in hard to deprecate it.
152
+
// For now on we will retain old behavior, in next version we will emit deprecation warning.
153
+
// It is also scheduled for removal in future versions.
0 commit comments