Skip to content

Fix strip_app to always rewrap in a list #2124

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

garazdawi
Copy link
Contributor

The crash I described in #2122 was not because of edoc producing docs without a list wrapper, but because the Erlang layer in ExDoc did so. My initial suggestion just happened to work as it also fixed this issue, but the final fix of normalizting edoc input did not as it happened to early.

This PR fixes the issue though I could not manage to create a testcase that replicates it.

Copy link

@josevalim josevalim merged commit f89ee45 into elixir-lang:main May 12, 2025
5 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@garazdawi
Copy link
Contributor Author

When you have the time, we would appriciate a new release as well :)

@garazdawi garazdawi deleted the lukas/fix-edoc-link-wrap branch May 12, 2025 10:23
@josevalim
Copy link
Member

@garazdawi can you please confirm this is good then? 0840140

@garazdawi
Copy link
Contributor Author

I think that the things introduced in this commit are no longer done, but we seem to have fixed most of them so I will just fix the remaining ones so that we don't need that workaround anymore.

When I fixed that all tests passed with 0840140.

@josevalim
Copy link
Member

Yeah, we also changed synopsis to rely on AST, so it is way more reliable and precise now. So I will go ahead and cut a new release, worst case scenario I do another one later :)

@garazdawi
Copy link
Contributor Author

thanks!

@josevalim
Copy link
Member

done!

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

Successfully merging this pull request may close these issues.

2 participants