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

Redefining the standard library #590

Closed
uramer opened this issue Dec 4, 2022 · 2 comments
Closed

Redefining the standard library #590

uramer opened this issue Dec 4, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@uramer
Copy link

uramer commented Dec 4, 2022

In my context, the debug library is not available, and some methods of other standard libraries aren't either.

I would expect to be able to redefine it by having global debug: nil etc in my declaration files, but I get errors such as
global was previously declared as <const>: debug

Is there an intended way to do this?

@uramer
Copy link
Author

uramer commented Dec 4, 2022

Here it's mentioned that it's possible: #532 (comment)

For the time being, unfortunately if you really need to use a customized definition of standard library tables, you'll have to redefine the whole thing.

But not how

@hishamhm hishamhm added the duplicate This issue or pull request already exists label Dec 20, 2022
@hishamhm
Copy link
Member

@uramer That last statement was incorrect, sorry. I fixed that comment and I'm closing this issue as a duplicate, while keeping the other one open for tracking the feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants