Skip to content
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

Core uid saved in files #59

Open
GasparQ opened this issue Jun 16, 2018 · 0 comments
Open

Core uid saved in files #59

GasparQ opened this issue Jun 16, 2018 · 0 comments
Assignees
Labels

Comments

@GasparQ
Copy link
Collaborator

GasparQ commented Jun 16, 2018

Problem

Variables and object attributes have their type saved through a Core id.
Saving core owned data is not recommended because it can't guarentee that an entity will have the same id when reloading the solution.
This problem is due to destructive commands like DECLARATOR.REMOVE which can create segmentation in memory.

Solution

In order to resolve this problem, the GUI must identify its entities with a guid in QUuid and manage them only by this system.

It worked for instructions, it could solve problem on entities.

Conditions of satisfaction

Condition Description Status
C1 Guid for Variable types ✔️
C2 Guid for object attributes ✔️
C3 Guid for object functions ✔️
C4 Guid for function params/returns
@GasparQ GasparQ added the bug label Jun 16, 2018
@GasparQ GasparQ self-assigned this Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant