Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot raise warnings using validation rules #149

Open
SimonCockx opened this issue Mar 3, 2022 · 1 comment
Open

Cannot raise warnings using validation rules #149

SimonCockx opened this issue Mar 3, 2022 · 1 comment

Comments

@SimonCockx
Copy link

This is an enhancement request.

Sometimes, my type system can detect expressions that are technically allowed, but are superfluous or can be written in a better way. In these cases, I would like to give a warning. Validation rules in XSemantics currently don't support this.

Adding syntax similar to error "error description" would resolve this, e.g.,

warning "warning description"
    source sourceObject
@LorenzoBettini
Copy link
Contributor

That's interesting. I'll try to work on that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants