mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 22:35:43 +08:00
20 lines
744 B
C++
20 lines
744 B
C++
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#include "Luau/Substitution.h"
|
|
#include "Luau/TypeVar.h"
|
|
#include "Luau/Module.h"
|
|
|
|
namespace Luau
|
|
{
|
|
|
|
struct InternalErrorReporter;
|
|
|
|
bool isSubtype(TypeId superTy, TypeId subTy, InternalErrorReporter& ice);
|
|
|
|
std::pair<TypeId, bool> normalize(TypeId ty, TypeArena& arena, InternalErrorReporter& ice);
|
|
std::pair<TypeId, bool> normalize(TypeId ty, const ModulePtr& module, InternalErrorReporter& ice);
|
|
std::pair<TypePackId, bool> normalize(TypePackId ty, TypeArena& arena, InternalErrorReporter& ice);
|
|
std::pair<TypePackId, bool> normalize(TypePackId ty, const ModulePtr& module, InternalErrorReporter& ice);
|
|
|
|
} // namespace Luau
|