You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two .yarn files that each have a node named 'Start'. It gives the error More than one node is named Start even though it is valid to repeat names between files.
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
Create two .yarn files and name the nodes the same in each.
Actually I think this is the correct behavior because of the concept of a yarn project which compiles multiple files into a single context. So basically there just needs to be concept of namespaces / project spaces, or something. Seems like a larger architectural decision beyond me.
What is the current behavior?
I have two
.yarn
files that each have a node named 'Start'. It gives the errorMore than one node is named Start
even though it is valid to repeat names between files.Please provide the steps to reproduce, and if possible a minimal demo of the problem:
Create two
.yarn
files and name the nodes the same in each.What is the expected behavior?
I expect to only get this error if two nodes in the same file are named the same. As far as I know, this is expected by spec: https://github.com/YarnSpinnerTool/YarnSpinner/blob/9275277f50a6acbe8438b29596acc8527cf5581a/Documentation/Yarn-Spec.md#title-tag
Please tell us about your environment:
I'm using Yarn in JS.
The text was updated successfully, but these errors were encountered: