Closed fmauger closed 6 years ago
Investigate if such construction would make sense:
Example:
[name="foo" type="bar"] #@variant_only "@cfg:duck/if_donald|true" color: string = "white" #@variant_only "@cfg:duck/if_daffy|false" color: string = "black" #@variant_default # NEW DIRECTIVE CANDIDATE color: string = "blue"
Remark: The following construct is probably a valuable solution:
[name="foo" type="bar"] #@variant_section "@cfg:duck/if_donald|true" color: string = "white" [name="foo" type="bar"] #@variant_section "@cfg:duck/if_daffy|false" color: string = "white"
We don't change/add anything for now to keep the variant conditional preprocessor system as simple as possible.
Investigate if such construction would make sense:
Example:
Remark: The following construct is probably a valuable solution: