mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 21:40:43 +00:00
c1830d8b81
# What's changed ### Debugger * Values after a 'continue' statement should not be accessible by debugger in the 'until' condition ### New Type Solver * Many fixes to crashes and hangs * Better bidirectional inference of table literal expressions ### Native Code Generation * Initial steps toward a shared code allocator --- ### Internal Contributors Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Lily Brown <lbrown@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
28 lines
633 B
C++
28 lines
633 B
C++
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#pragma once
|
|
|
|
#include "Luau/DenseHash.h"
|
|
#include "Luau/NotNull.h"
|
|
#include "Luau/TypeFwd.h"
|
|
|
|
namespace Luau
|
|
{
|
|
|
|
struct TypeArena;
|
|
struct BuiltinTypes;
|
|
struct Unifier2;
|
|
class AstExpr;
|
|
|
|
TypeId matchLiteralType(
|
|
NotNull<DenseHashMap<const AstExpr*, TypeId>> astTypes,
|
|
NotNull<DenseHashMap<const AstExpr*, TypeId>> astExpectedTypes,
|
|
NotNull<BuiltinTypes> builtinTypes,
|
|
NotNull<TypeArena> arena,
|
|
NotNull<Unifier2> unifier,
|
|
TypeId expectedType,
|
|
TypeId exprType,
|
|
const AstExpr* expr
|
|
);
|
|
|
|
}
|