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: Make string literals throw again, and test optional enums #135

Merged
merged 12 commits into from
Sep 16, 2024

Conversation

mrousavy
Copy link
Owner

@mrousavy mrousavy commented Sep 16, 2024

When using a single string literal in Nitrogen, it must throw again because it is simply ambiguous between a string and an enum. We don't know what it is, so we need to tell the user to be more explicit.

Also fixes:

  • Optionals in Swift can be passed through as is if possible - no optional lambda try/unwrapping
  • Disable codegen for Android (it failed because I don't use it)

@mrousavy mrousavy merged commit 46c9ca0 into main Sep 16, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

1 participant