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

Reference to type alias denoting an array type is mishandled in function return type #341

Closed
languagelawyer opened this issue Sep 5, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@languagelawyer
Copy link

using arr_t = int[10];

arr_t* f();
arr_t& g();
arr_t&& h();

turns into

using arr_t = int[10];

arr_t (*f());

arr_t &;

arr_t &&;

There is no g and h in the cppinsights output.

@andreasfertig
Copy link
Owner

Hello @languagelawyer,

I haven't received an issue report from you for a while. Glad you are still using and reporting issues for C++ Insights! Thank you for catching and reporting this one. A fix is on its way.

Andreas

@andreasfertig andreasfertig added the bug Something isn't working label Sep 8, 2020
andreasfertig added a commit that referenced this issue Sep 8, 2020
Fixed #341: Name and parameters of a function got lost when returning…
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