mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 10:32:15 +03:00
654a8351c8
This PR fixes a bug reported in [Task](https://www.pivotaltracker.com/story/show/184159167). To reproduce the issue, one can do the following steps: 1. Create a new project in the IDE. 2. Check the metadata section in the `Main.enso` file – `IdeMetadata` (a JSON object starting with `"ide":`) contains info for two nodes. 3. Edit the project in the external editor. For example, replace the expression of the second node. 4. Open a project in the IDE and observe the metadata. Now `IdeMetadata` contains three nodes – one unmodified, one added, and one no longer present. It leads to constantly growing metadata if you use an external editor. This PR fixes the issue by pruning unused node metadata on loading. No visual changes to the IDE were made. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
build.rs | ||
Cargo.toml |