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

Type declaration of no-existing variables #598

Open
1 of 3 tasks
Tracked by #592
PalumboN opened this issue May 11, 2023 · 0 comments
Open
1 of 3 tasks
Tracked by #592

Type declaration of no-existing variables #598

PalumboN opened this issue May 11, 2023 · 0 comments
Assignees

Comments

@PalumboN
Copy link
Collaborator

PalumboN commented May 11, 2023

Validate that all type declarations are linked to a variable available in the scope. For example, to avoid cases like

foo
    <var: #x type: #int>
    | theX |

This is useful to eagerly detect issues (for example, a renamed variable but with a not renamed type declaration) before going to the entire slang->c->native compilation process that is long.

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

2 participants