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

Variables declared using auto will not export #112

Open
paxcut opened this issue Jun 29, 2024 · 0 comments
Open

Variables declared using auto will not export #112

paxcut opened this issue Jun 29, 2024 · 0 comments

Comments

@paxcut
Copy link
Contributor

paxcut commented Jun 29, 2024

A member variable of a struct defined using auto must be a local variable since it needs an assignment to deduce its type. in theory local variables can be made visible in the pattern data window by using the [[export]] attribute. Define a simple structure with a local using auto and export has no effect. Switch it to a built in type and it shows.

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

No branches or pull requests

1 participant