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

Fix constants/gets not working within a Provider #621

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

jansul
Copy link
Contributor

@jansul jansul commented Jul 22, 2023

As mentioned within #619 (comment), this PR fixes a couple of issues with both constants and gets when using them with a Provider:

  • Constants were being removed when formatting
  • Constants weren't being type checked correctly (you would receive a VariableMissing error)
  • Gets were not being parsed

I've done a quick test in browser and the above seems to be working there too 😄 Unfortunately none of the existing providers use these features yet - perhaps some .mint tests purely for testing language features rather than the standard library might be useful?

I'll update the other PR to support Providers once this is merged 👍

@gdotdesign gdotdesign merged commit 104a2ae into mint-lang:master Jul 22, 2023
@gdotdesign
Copy link
Member

Nice, thank you very much 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants