Skip to content

Error while exporting FeatureValue using Enumeration litrals #1784

@adaussy

Description

@adaussy

If importing the following model in SysON:

package root {
    enum def Enum1 {
        e1;
        e2;
    }
	
	part p2 {
		attribute z1 : Enum1 = Enum1::e1;
		attribute z2 : Enum1 = e1;
	}

}

Exporting this model gives:

package root {
	enum def Enum1 {
		e1;
		e2;
	}
	part p2 {
		attribute z1 : Enum1 = e1;
		attribute z2 : Enum1 = e1;
	}
}

It seems incorrect to simply use "e1" in "z1" and "z2" to reference the literal.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions