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
Propagate ConditionalModifierInfo from config_setting with single constraint
Summary:
RFC: https://fb.workplace.com/groups/buck2dev/permalink/4179858482302192/
---------
Extend `config_setting` to return a `ConditionalModifierInfo` provider when the `config_setting `has exactly one constraint value. This allows single-constraint `config_settings` to be used as modifiers, inheriting the conditional modifier behavior.
Differential Revision: D89706595
fbshipit-source-id: c4e039a18b0036b38a5a4aee5bce686b576d4394
fail("Internal error: Modifer (`{}` type `{}`) with single constraint value should have ConditionalModifierInfo provider.".format(modifier_info, type(modifier_info)))
134
133
fail("Internal error: Found unexpected modifier `{}` type `{}`".format(modifier, type(modifier)))
0 commit comments