luau/tools
Alexander McCord 1d0b449181
Sync to upstream/release/597 (#1054)
# New Type Solver

- Implement bidirectional type inference for higher order functions so
that we can provide a more precise type improving the autocomplete's
human factors.
- We seal all tables, so we changed the stringification to make it a
little lighter on users.
- Fixed a case of array-out-of-bound access.
- Type families no longer depends on `TxnLog` and `Unifier`.
- Type refinements now waits until the free types are sufficiently
solved.

# Native Code Generation

- Remove cached slot lookup for `executeSETTABLEKS` function because it
is a fallback in the event of a cache miss, making the cached slot
lookup redundant.
- Optimized repeated array lookups, e.g. `a[3]` in `a[3] = a[3] / 2` is
done once.

# Misc

- On some platforms, it is necessary to use `gmtime_s` with the
arguments reversed to get the current time. You can now define
`DOCTEST_CONFIG_USE_GMTIME_S` to build and run unit tests on those
platforms.

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
2023-09-29 18:13:05 -07:00
..
natvis Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
codegenstat.py Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
faillist.txt Sync to upstream/release/597 (#1054) 2023-09-29 18:13:05 -07:00
flag-bisect.py Sync to upstream/release/563 (#833) 2023-02-10 11:40:38 -08:00
gdb_printers.py Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
heapgraph.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
heapstat.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
lldb_formatters.lldb Sync to upstream/release/548 (#699) 2022-10-06 17:23:29 -07:00
lldb_formatters.py Sync to upstream/release/547 (#690) 2022-09-29 15:23:10 -07:00
numprint.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
patchtests.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
perfgraph.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
perfstat.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
stack-usage-reporter.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
svg.py Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
test_dcr.py Sync to upstream/release/589 (#1000) 2023-08-04 12:18:54 -07:00
tracegraph.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00