mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
OSS cleanup - Sync/upstream/647 introduced unecessary new lines in Differ.cpp - this cleans it up (#1472)
This commit is contained in:
parent
77295c3610
commit
d7842e08ae
1 changed files with 0 additions and 3 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};
|
||||||
|
|
Loading…
Reference in a new issue