Skip to content

trice insert does not assign a new ID, when a Trice was copied with ID and no trice clean was performed. #549

@rokath

Description

@rokath

Describe the bug
See title

To Reproduce
Copy any Trice line with ID and do NOT perform trice clean but just do trice insert. This will not change the ID of the copied or original Trice. As a result, a wrong location information is possible.

Expected behavior
The same ID is allowed to occur only once in the user source code to guarantee correct location information.

To Do
Write a test first.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions