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

[New solver] Crash when acidentally adding duplicate key to table with indexer as a union of string literals #1600

Open
imnerolin opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working new solver This issue is specific to the new solver.

Comments

@imnerolin
Copy link

type test = "a" | "b"

local x: {[test]: number} = {
	a = 0;
	a = 1; -- Crashes the typesolver / roblox studio entirely
}

this probably needs a LOT more testing but this is the most specific conclusion i came to.

@imnerolin imnerolin added the bug Something isn't working label Jan 2, 2025
@imnerolin imnerolin changed the title [New solver] Entire studio crashes when acidentally adding duplicate key to table with indexer as a union of string literals [New solver] Crash when acidentally adding duplicate key to table with indexer as a union of string literals Jan 2, 2025
@aatxe aatxe added the new solver This issue is specific to the new solver. label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new solver This issue is specific to the new solver.
Development

No branches or pull requests

2 participants