Skip to content

feat: create global map for allowing empty hashmap construction #329

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

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

makspll
Copy link
Owner

@makspll makspll commented Feb 26, 2025

Should allow:

local map = map({})

i.e. lua cannot make the distinction between an empty table and hashmap normally

Addresses #328

@makspll makspll enabled auto-merge (squash) February 26, 2025 08:18
@makspll makspll merged commit 11fdba2 into main Feb 26, 2025
17 checks passed
@makspll makspll deleted the feat/empty-hashmap branch February 26, 2025 08:57
@github-actions github-actions bot mentioned this pull request Feb 26, 2025
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