-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bug box due to dangling field when merging messages #1033
Comments
If I remember correctly, the removal of dangling fields when merging messages (cf. https://github.com/Componolit/RecordFlux/blob/main/rflx/model/message.py#L2178-L2197) was mainly added for the fuzzer. @jklmnn @senier Should |
Tbh I can't remember when and why we introduced that particular feature. Just looking at the example I think the field should not be removed and the warning about the unreachable field should be generated. |
Apparently I added that functionality in 39e3109 as part of #410. Tbh, I have no recollection. @treiher Maybe your concerns we're justified... |
In a separate discussion, we decided to just fix the assertion error for the time being. The pruning of dangling fields may be changed in the future (cf. #1034). |
Checking this specification with assertion leads to a bug box:
Without assertions,
D
is detected as unreachable field:The text was updated successfully, but these errors were encountered: