Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Regula S-Expressions don't enforce assumption about MANY cardinality #56

Open
tealeg opened this issue Dec 14, 2018 · 0 comments
Open
Labels
feature request Request a new feature
Milestone

Comments

@tealeg
Copy link
Contributor

tealeg commented Dec 14, 2018

There is an assumption in the regula/rule/operator.operator handling of Contracts. We assume that only the final Term in the contract may have Cardinality == MANY. We should enforce that rule somehow - I'm not yet sure how, but it seems a panic would be the best we can expect (I can't see a way to have this fail at compile time).

@tealeg tealeg added the feature request Request a new feature label Dec 14, 2018
@asdine asdine added this to the v0.7.0 milestone Apr 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants