luau/CLI
Andy Friesen 543de6e939
Sync to upstream/release/646 (#1458)
# General Updates

* Fix some cases where documentation symbols would not be available when
mouseovering at certain positions in the code
* Scaffolding to help embedders have more control over how `typeof(x)`
refines types
* Refinements to require-by-string semantics. See
https://github.com/luau-lang/rfcs/pull/56 for details.
* Fix for https://github.com/luau-lang/luau/issues/1405

# New Solver

* Fix many crashes (thanks you for your bug reports!)
* Type functions can now call each other
* Type functions all evaluate in a single VM. This should improve
typechecking performance and reduce memory use.
* `export type function` is now forbidden and fails with a clear error
message
* Type functions that access locals in the surrounding environment are
now properly a parse error
* You can now use `:setindexer(types.never, types.never)` to delete an
indexer from a table type.

# Internal Contributors

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Varun Saini <vsaini@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2024-10-04 11:29:55 -07:00
..
Analyze.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Ast.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Bytecode.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Compile.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Coverage.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Coverage.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
FileUtils.cpp Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
FileUtils.h Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
Flags.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Flags.h Sync to upstream/release/537 (#607) 2022-07-21 14:16:54 -07:00
Profiler.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Profiler.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
Reduce.cpp Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
Repl.cpp Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
Repl.h Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
ReplEntry.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
Require.cpp Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
Require.h Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
Web.cpp Sync to upstream/release/509 (#303) 2022-01-06 17:46:53 -08:00