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

Importing and using unknown variables results in a FieldDeclaration #1603

Open
maximiliankaul opened this issue Jun 26, 2024 · 0 comments
Open
Assignees
Labels

Comments

@maximiliankaul
Copy link
Contributor

Parsing the following code with the current CPG

import math

mypi = math.pi

a FieldDeclaration is created. This is not the expected behavior.

@oxisto oxisto changed the title Importing and using variables results in a FieldDeclaration Importing and using unknown variables results in a FieldDeclaration Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants