Skip to content

TypedValue - Lack of information #20

@tfabbri

Description

@tfabbri

The structure TypedValue presents a lack of information for Union and Record types.
Considering the following example where MyRecord1 and MyRecord2 are two records characterized by different structure:

types
    MyUnion = MyRecord1 | MyRecord2

at C code level is not possible to distinguish between the two types by checking the type field (both are characterized by type=VDM_RECORD).
Possible solution: Add a new field to TypedValue containing the name of the type (alias = 'MyRecord1' and alias='MyRecord2').

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions