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

Allow calling builtin functions at a module level #14

Open
GearsDatapacks opened this issue Nov 17, 2024 · 0 comments
Open

Allow calling builtin functions at a module level #14

GearsDatapacks opened this issue Nov 17, 2024 · 0 comments

Comments

@GearsDatapacks
Copy link
Member

Currently, you can assign to compile-time variables in module scope, but you can't call compile-time functions or builtin functions without doing something hacky:

namespace example

# This is not allowed, but should be
@something()
# This is allowed, but not ideal
&a = @something()

This should probably have the same restrictions as #13

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