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

Imported mode validation should not allow new function definitions for py5 reserved words #301

Closed
hx2A opened this issue Jun 18, 2023 · 1 comment

Comments

@hx2A
Copy link
Collaborator

hx2A commented Jun 18, 2023

Currently there are "py5 reserved words" such as rect, mouse_x, etc and you are not allowed to define variables that use these keywords. However, I noticed I could define new functions with names that use the reserved words. The user should get a warning here also.

@hx2A
Copy link
Collaborator Author

hx2A commented Jun 23, 2023

Fixed in PR #305

@hx2A hx2A closed this as completed Jun 23, 2023
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