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

Additional Duplicate element in the diagram #2110

Closed
rutvora opened this issue Sep 18, 2024 · 1 comment · Fixed by #2112
Closed

Additional Duplicate element in the diagram #2110

rutvora opened this issue Sep 18, 2024 · 1 comment · Fixed by #2112

Comments

@rutvora
Copy link

rutvora commented Sep 18, 2024

Note: This is an issue with the current master branch and not with the v0.6.6 release

main.d2

...@second

second.d2

second: {
  elem: {
    ...@third
  }
}

third.d2

third: {
  elem
}
master v0.6.6
image image

The extra third element in master is what I'm referring to.

Btw, I built the master branch by running the following commands (let me know if I did something wrong)

./make.sh
go build .

I then used the executable generated by the go build . to generate the images

@alixander
Copy link
Collaborator

@rutvora Very much appreciate this. Surprising lack of test case, we're lucky you caught it before the new release was cut 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants