Skip to content

Invalid textual import/export of LiteralRational #1627

Description

@adaussy

Exporting model with LiteralRational fails.

Exporting the following models:

private import ScalarValues::*;
part p1 {
	attribute x : Real = 1.0;
}

Gives

private import ScalarValues::*;
part p1 {
	attribute x : Real = 1;
}

"1" is a LiteralInteger and not a LiteralRational

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions