-
Notifications
You must be signed in to change notification settings - Fork 0
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
TypedValue - Lack of information #20
Comments
The runtime library now supports full
The runtime function |
To be honest I do not remember well the issue. The problem was about the support for union types as in #21. Have you developed such support? |
Not directly, but as Victor said above, you can now generate the char encoding for such types - see #108 (comment) for details. Based on the encoding you can use the |
The structure
TypedValue
presents a lack of information for Union and Record types.Considering the following example where
MyRecord1
andMyRecord2
are two records characterized by different structure:at C code level is not possible to distinguish between the two types by checking the
type
field (both are characterized bytype=VDM_RECORD
).Possible solution: Add a new field to
TypedValue
containing the name of the type (alias = 'MyRecord1'
andalias='MyRecord2'
).The text was updated successfully, but these errors were encountered: