Skip to content

Typed Positional Table Properties - #245

Open
IFMNB wants to merge 5 commits into
luau-lang:masterfrom
IFMNB:master
Open

Typed Positional Table Properties#245
IFMNB wants to merge 5 commits into
luau-lang:masterfrom
IFMNB:master

Conversation

@IFMNB

@IFMNB IFMNB commented Aug 15, 2026

Copy link
Copy Markdown

This RFC series extends Luau's table type system with precise representations for statically known table keys and heterogeneous positional structures.

IFMNB and others added 5 commits August 15, 2026 22:33
This proposal allows singleton types to be used as concrete property keys in Luau table types, enhancing type composition without altering existing indexer semantics.
This proposal introduces numeric type literals as concrete table property keys, allowing numeric singleton types to represent specific table properties in type definitions. It extends the existing literal-property model from string keys to numeric keys, enabling more precise type representations for heterogeneous data structures.
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