-
Notifications
You must be signed in to change notification settings - Fork 19
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
instantiation of formal parameters with only one symbol (first try to see how this would work) #1849
base: master
Are you sure you want to change the base?
Conversation
I have tried this extensively with 29 DOL files that BKB has provided. It mostly works, with two exceptions. The first one is: for compound ids, it is not possible to omit the symbol kind. Consider e.g.
Then |
I made your example work (not an elegant solution, but it goes through). If other of the test files involving compound identifiers do not work, please let me know. |
Good, now more things go through!
leads to
|
Another problem: Let
and
Then at the left-hand side of |
Another point: compound IDs with multiple components do not work. Consider
I get
|
The last issue requires a modification of the parser for structured specifications. |
I see. Luckily, the last issue is the least important one. |
I modified a bit the test for the second issue, to make it more visible:
This goes through now. |
The first two issues seem to be fixed now, please test and let me know if there are problems. |
many thanks, goes through as expected!
|
once #1899 has been closed, this one can go |
Not intended to merge, but pull request shows diff better.