luau/Ast/src
Jack 12dac2f1f4
fix parsing string union indexers (#1750)
Today this code results in a syntax error: `type foo = { ["bar" |
"baz"]: number }`. This is odd and I believe it is a bug. I have fixed
this so that it is now parsed as an indexer field with a union type.
This change should not affect the way any code is parsed today, and
allow types in indexers to begin with string literals.

---------

Co-authored-by: ariel <aweiss@hey.com>
2025-03-25 16:18:22 -07:00
..
Allocator.cpp Sync to upstream/release/656 (#1612) 2025-01-10 11:34:39 -08:00
Ast.cpp Sync to upstream/release/666 (#1747) 2025-03-21 14:43:00 -07:00
Confusables.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Cst.cpp Sync to upstream/release/666 (#1747) 2025-03-21 14:43:00 -07:00
Lexer.cpp Sync to upstream/release/666 (#1747) 2025-03-21 14:43:00 -07:00
Location.cpp Sync to upstream/release/656 (#1612) 2025-01-10 11:34:39 -08:00
Parser.cpp fix parsing string union indexers (#1750) 2025-03-25 16:18:22 -07:00
StringUtils.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
TimeTrace.cpp Sync to upstream/release/650 (#1502) 2024-11-01 12:06:07 -07:00