1
0
Fork 0
mirror of https://github.com/luau-lang/luau.git synced 2025-03-05 11:41:40 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Vyacheslav Egorov
aafea36235
Fixed the backwards compatible benchmark support library require ()
Previous benchmark require fix wasn't actually working correctly for the
old style require (or running in Lua).
2023-12-04 12:48:31 -08:00
Vyacheslav Egorov
ce1800746b
Fix 'require' in benchmarks to work with new relative system ()
Old style require is now called with `pcall` to support comparing
against Lua.
New style require is now a third option.

Edit: this will be a temporary solution until the 'paths' support in
.luaurc is fixed.
2023-12-02 14:20:54 -08:00
Arseny Kapoulkine
5b2e39c922
Sync to upstream/release/536 () 2022-07-14 15:52:26 -07:00
Arseny Kapoulkine
e9cc76a3d5
Sync to upstream/release/526 () 2022-05-05 17:03:43 -07:00
Arseny Kapoulkine
32c39e2162
Sync to upstream/release/510 () 2022-01-14 08:20:09 -08:00
Arseny Kapoulkine
f2e6a8f4a5
Sync to upstream/release/507-pre ()
This doesn't contain all changes for 507 yet but we might want to do the
Luau 0.507 release a bit earlier to end the year sooner.

Changes:

- Type ascription (::) now permits casts between related types in both directions, allowing to refine or loosen the type (RFC )
- Fix type definition for tonumber to return number? since the input string isn't guaranteed to contain a valid number
- Fix type refinements for field access via []
- Many stability fixes for type checker
- Provide extra information in error messages for type mismatches in more cases
- Improve performance of type checking for large unions when union members are string literals
- Add coverage reporting support to Repl (--coverage command line argument) and lua_getcoverage C API
- Work around code signing issues during Makefile builds on macOS
- Improve performance of truthiness checks in some cases, particularly on Apple M1, resulting in 10-25% perf gains on qsort benchmark depending on the CPU/compiler
- Fix support for little-endian systems; IBM s390x here we go!
2021-12-10 14:05:05 -08:00
Arseny Kapoulkine
d01addc625 Sync to upstream/release/501 ()
Co-authored-by: Rodactor <rodactor@roblox.com>
2021-11-01 14:52:34 -07:00