luau/Analysis/include/Luau/Quantify.h

16 lines
330 B
C
Raw Normal View History

// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
#include "Luau/Type.h"
namespace Luau
{
2022-06-17 09:05:14 +08:00
struct TypeArena;
2022-07-29 12:24:07 +08:00
struct Scope;
2022-02-18 09:18:01 +08:00
void quantify(TypeId ty, TypeLevel level);
2022-07-29 12:24:07 +08:00
TypeId quantify(TypeArena* arena, TypeId ty, Scope* scope);
} // namespace Luau