You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Changing a comptime variable in a module from a function within that module is currently allowed, however the updated value can only be seen by the modifying function and not by accessing the variable from outside the module.
Expected behavior
Either modules should be consistent with other objects and don't allow changing comptime variables, or modules should not be normal objects.
The text was updated successfully, but these errors were encountered:
Describe the bug
Changing a comptime variable in a module from a function within that module is currently allowed, however the updated value can only be seen by the modifying function and not by accessing the variable from outside the module.
Example: https://inky-developer.github.io/debris-playground/?code=55656a39d2ce36a0447f3ac314b5dbe58fbf879b
Expected behavior
Either modules should be consistent with other objects and don't allow changing comptime variables, or modules should not be normal objects.
The text was updated successfully, but these errors were encountered: