Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-5088) Ensure only => can be used in capability mappings
This commit relaxes that constraint that a CapabilityMapping only can contain an AttributeOperation so that it instead can contain an AbstractAttributeOperation. This was done to prevent a cryptic error message when an AttributesOperation (note the plural) was assigned due to use of *=> operator. The relaxed constraint lets this pass so that it instead can be trapped in the validator where a correct check was already in place.
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters