mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
- Fix autocomplete not suggesting globals defined after the cursor (fixes #622) - Improve type checker stability - Reduce parser C stack consumption which fixes some stack overflow crashes on deeply nested sources - Improve performance of bit32.extract/replace when width is implied (~3% faster chess) - Improve performance of bit32.extract when field/width are constants (~10% faster base64) - Heap dump now annotates thread stacks with local variable/function names
14 lines
294 B
C++
14 lines
294 B
C++
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#include "Luau/Constraint.h"
|
|
|
|
namespace Luau
|
|
{
|
|
|
|
Constraint::Constraint(ConstraintV&& c, NotNull<Scope> scope)
|
|
: c(std::move(c))
|
|
, scope(scope)
|
|
{
|
|
}
|
|
|
|
} // namespace Luau
|