JetBrains / JetBrains/MPS-extensions

shadowmodels.transformation: duplicate does not preserve userObject

Open
#207 1 comment 0 reactions 0 assignees View on GitHub
bug comp.shadow
Dominant language
JetBrains MPS
Stars
88
Forks
60
Avg merge
1d 3h
Merged PRs (30d)
15

Description

**Problem**
It looks like the [Duplicate](http://127.0.0.1:63320/node?ref=r%3Aff4bc8f2-4e53-41b7-a27c-792a5dcc86cb%28de.q60.mps.shadowmodels.transformation.structure%29%2F2573073122887437731) INodeSpec does not preserve `userObjects` which were previously attached to the input node.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Duplicate INodeSpec implementation in the shadowmodels.transformation area and inspect how userObjects are handled when duplicating an input node. Reproduce the reported case from the linked node reference; it is done when previously attached userObjects remain on the duplicate.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.