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

Unexpected errors when using --max_errors=1 #825

Closed
treiher opened this issue Oct 21, 2021 · 3 comments
Closed

Unexpected errors when using --max_errors=1 #825

treiher opened this issue Oct 21, 2021 · 3 comments
Assignees
Labels

Comments

@treiher
Copy link
Collaborator

treiher commented Oct 21, 2021

For some otherwise correctly verified specifications, an error is shown if --max_errors=1 is set. That is the case for several example specifications. For example:

% rflx --max-errors=1 check examples/specs/ipv4.rflx 
Parsing examples/specs/ipv4.rflx
Parsing examples/specs/protocol_numbers.rflx
Processing Protocol_Numbers
Processing IPv4
examples/specs/ipv4.rflx:24:10: model: error: conflicting conditions for field "Option_Number"
examples/specs/ipv4.rflx:26:19: model: info: condition 0 (Option_Number -> Final): Option_Class = IPv4::CONTROL and Option_Number = 1
examples/specs/ipv4.rflx:28:19: model: info: condition 1 (Option_Number -> Option_Length): Option_Number > 1
@treiher treiher added the bug label Oct 21, 2021
@treiher treiher added this to To do in RecordFlux 0.6 via automation Oct 21, 2021
@senier
Copy link
Member

senier commented Oct 21, 2021

So if you chose N > 1 for --max_errors=N or leave --max-errors out it verifies?

@treiher
Copy link
Collaborator Author

treiher commented Oct 21, 2021

Yes, exactly.

@senier senier removed this from To do in RecordFlux 0.6 Aug 23, 2022
@senier senier added this to To do in RecordFlux Future via automation Aug 23, 2022
@treiher treiher self-assigned this Aug 21, 2023
@treiher
Copy link
Collaborator Author

treiher commented Aug 21, 2023

Fixed in version 0.12.0.

@treiher treiher closed this as completed Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants