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

switch root element when inlining #172

Merged
merged 2 commits into from
Jan 1, 2017
Merged

switch root element when inlining #172

merged 2 commits into from
Jan 1, 2017

Conversation

philhofer
Copy link
Member

@philhofer philhofer commented Jan 1, 2017

In nextInline, inline on the copy of the replacement after the replacement has taken place, and use the replacement type name as the new root element.

@glycerine

Fixes #171


This change is Reviewable

@philhofer philhofer changed the title switch root element when propogating inlines switch root element when inlining Jan 1, 2017
@philhofer philhofer merged commit 362bfb3 into master Jan 1, 2017
glycerine pushed a commit to glycerine/msgp that referenced this pull request Jan 1, 2017
* switch root element when propogating inlines; add a test for recursive and mutually-recursive types
@glycerine
Copy link
Contributor

Thanks @philhofer !

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.

2 participants