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

Placeholder type specifiers will have their return type duplicated. #26

Closed
wroyca opened this issue Jul 27, 2023 · 3 comments
Closed

Placeholder type specifiers will have their return type duplicated. #26

wroyca opened this issue Jul 27, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wroyca
Copy link
Contributor

wroyca commented Jul 27, 2023

Environment

version and/or commit hash: f4607c4

Describe the bug

Placeholder type specifiers will have their return type duplicated, for example:

auto 
hello ()
{
  return 5;
}

will be documented as:

auto
hello () -> auto
{
  return 5;
}

Additional information

We've already addressed scenarios involving trailing return types de-duplication, so it appears that this is merely a minor oversight

@wroyca wroyca added the bug Something isn't working label Jul 27, 2023
@marzer
Copy link
Owner

marzer commented Jul 28, 2023

Ah yeah that's an easy fix, the same workaround I used for the trailing types just needs a tweak

@marzer marzer closed this as completed in d400d28 Jul 28, 2023
@marzer
Copy link
Owner

marzer commented Jul 28, 2023

fixed in v0.13.0 :)

@wroyca
Copy link
Contributor Author

wroyca commented Jul 28, 2023

Awesome, thank! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants