luau/tests/require/without_config
Andy Friesen 3eb0c13678
Sync to upstream/release/673 (#1812)
# General Changes

* Remove a `static_assert` that prevented Luau from building on 32-bit
targets.
* Fix `proxyrequire` (see https://github.com/luau-lang/luau/pull/1804)
* Replace contents API with new `loadname` API in Luau.Require
* Store the positions of `:` symbols in the CST.
* Fix a minor bug in the new incremental autocomplete engine: Properly
suggest `else` and `elseif` if the cursor is currently within an `if`
block.

# New Type Solver

* Allow generics to be substituted for negation types when performing
subtype tests
* Crash fixes
* Surface subtyping errors more consistently.
* Avoid creating double-negation types (like `~~(false?)`) when
generating constraints.

# Internal Contributors

Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Ariel Weiss <aaronweiss@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Sora Kanosue <skanosue@roblox.com>
Co-authored-by: Talha Pathan <tpathan@roblox.com>
Co-authored-by: Varun Saini <vsaini@roblox.com>
Co-authored-by: Vighnesh Vijay <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>

---------

Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>
Co-authored-by: Alexander Youngblood <ayoungblood@roblox.com>
Co-authored-by: Menarul Alam <malam@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Ariel Weiss <aaronweiss@roblox.com>
2025-05-09 16:35:47 -07:00
..
ambiguous Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
lua Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
luau Sync to upstream/release/669 (#1770) 2025-04-11 17:44:21 -07:00
nested Sync to upstream/release/669 (#1770) 2025-04-11 17:44:21 -07:00
ambiguous_directory_requirer.luau Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
ambiguous_file_requirer.luau Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
dependency.luau Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
lua_dependency.lua Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
module.luau Sync to upstream/release/646 (#1458) 2024-10-04 11:29:55 -07:00
nested_module_requirer.luau Sync to upstream/release/669 (#1770) 2025-04-11 17:44:21 -07:00
proxy_requirer.luau Sync to upstream/release/673 (#1812) 2025-05-09 16:35:47 -07:00
validate_cache.luau Sync to upstream/release/652 (#1525) 2024-11-15 14:29:30 -08:00