-
Notifications
You must be signed in to change notification settings - Fork 4
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 with rule refinement: Static analysis #369
Comments
Any progress? Have you been able to reproduce? |
Hello, |
ok - so first concentrate on simply reproducing right? That means I believe a clear subtype must win at the moment. The problem is more when there is no clear lowest subtype. This is a specification error and must be flagged as such. Instead at the moment something just happens. E.g.:
If you then have a rule X with CorrB, a rule Y with CorrC, and a rule Z that refines X and Y you should get an error as it is unclear if Z should use CorrB and CorrC (they are not comparable). Clear? |
Yes it is clear. At the moment we are using |
That’s fine. Any example is ok if you can reproduce the problem. |
Refinement does not seem to work correctly for overriding correspondence types.
Subtypes should win, but we should also complain if there is no clear "lowest" subtype. Currently we just pick one of the types without any warning or error.
The text was updated successfully, but these errors were encountered: