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

auto keyword and type casting parser bug #2985

Open
Strewya opened this issue Dec 16, 2024 · 0 comments
Open

auto keyword and type casting parser bug #2985

Strewya opened this issue Dec 16, 2024 · 0 comments
Labels
bug current_ issues being worked on done done but not deployed Priority 2 above normal

Comments

@Strewya
Copy link

Strewya commented Dec 16, 2024

Minimal repro code below.

struct state
{
  int A;
};
int func(void *ptr)
{
  state *S = (state*)ptr; // dereferencing when doing a cast like this is fine and shows members of state
  state *S = ((state*)ptr); // dereferencing when doing a cast wrapped with extra () fails to show members of state
  S->
}```
@slynch8 slynch8 added bug Priority 2 above normal current_ issues being worked on labels Dec 16, 2024
@slynch8 slynch8 added the done done but not deployed label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug current_ issues being worked on done done but not deployed Priority 2 above normal
Projects
None yet
Development

No branches or pull requests

2 participants