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

Fix duplicate relative path syntax trees #635

Merged
merged 1 commit into from Nov 12, 2019

Conversation

jsteinich
Copy link
Contributor

Fixes #629
After a simple setup didn't reproduce the issue, I debugged further and noticed that the error type being used listed two possible actual types. Looking further it turned out to be caused by two references to the same project. One that was a direct relationship and one that was through another project. This resulted in two different relative paths to the same file.
Could try to detect the duplication earlier, but resolving to absolute paths at the end is simple.

@neuecc
Copy link
Member

neuecc commented Nov 12, 2019

thanks!
nice fix!

@neuecc neuecc merged commit 6bee032 into MessagePack-CSharp:master Nov 12, 2019
@AArnott AArnott added this to the v2.0 milestone Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New mpc can fail to generate all formatters
3 participants