mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 05:40:53 +01:00
Fixup code desync between internal and external
This commit is contained in:
parent
82c9383a39
commit
e7e0b9d9be
2 changed files with 1 additions and 4 deletions
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
namespace Luau
|
namespace Luau
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string DiffPathNode::toString() const
|
std::string DiffPathNode::toString() const
|
||||||
{
|
{
|
||||||
switch (kind)
|
switch (kind)
|
||||||
|
@ -945,14 +944,12 @@ std::vector<std::pair<TypeId, TypeId>>::const_reverse_iterator DifferEnvironment
|
||||||
return visitingStack.crend();
|
return visitingStack.crend();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DifferResult diff(TypeId ty1, TypeId ty2)
|
DifferResult diff(TypeId ty1, TypeId ty2)
|
||||||
{
|
{
|
||||||
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
|
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
|
||||||
return diffUsingEnv(differEnv, ty1, ty2);
|
return diffUsingEnv(differEnv, ty1, ty2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DifferResult diffWithSymbols(TypeId ty1, TypeId ty2, std::optional<std::string> symbol1, std::optional<std::string> symbol2)
|
DifferResult diffWithSymbols(TypeId ty1, TypeId ty2, std::optional<std::string> symbol1, std::optional<std::string> symbol2)
|
||||||
{
|
{
|
||||||
DifferEnvironment differEnv{ty1, ty2, symbol1, symbol2};
|
DifferEnvironment differEnv{ty1, ty2, symbol1, symbol2};
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#include "Luau/BuiltinDefinitions.h"
|
#include "Luau/BuiltinDefinitions.h"
|
||||||
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauVectorDefinitionsExtra)
|
LUAU_FASTFLAGVARIABLE(LuauVectorDefinitionsExtra)
|
||||||
LUAU_FASTFLAG(LuauVector2Constructor)
|
|
||||||
LUAU_FASTFLAG(LuauBufferBitMethods2)
|
LUAU_FASTFLAG(LuauBufferBitMethods2)
|
||||||
LUAU_FASTFLAGVARIABLE(LuauMathMapDefinition)
|
LUAU_FASTFLAGVARIABLE(LuauMathMapDefinition)
|
||||||
|
LUAU_FASTFLAG(LuauVector2Constructor)
|
||||||
|
|
||||||
namespace Luau
|
namespace Luau
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue