[Feature Request] Allow modulus operator in requires
Open
duplicate
enhancement
language feature
- Dominant language
- Python
- Stars
- 92
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
I would like to enforce this requirement: Range: 0x0002 to 0xFFFE; only even values are valid
I was envisioning something like this:
```
[requires: 0x0002 <= this <= 0xFFFE]
[requires: this % 2 == 0]
```
Contributor guide
Assessment
This issue has not been assessed yet.