Skip to content

Commit

Permalink
OSS cleanup - Sync/upstream/647 introduced unecessary new lines in Di…
Browse files Browse the repository at this point in the history
…ffer.cpp - this cleans it up (#1472)
  • Loading branch information
Vighnesh-V authored Oct 14, 2024
1 parent 77295c3 commit d7842e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Analysis/src/Differ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

namespace Luau
{

std::string DiffPathNode::toString() const
{
switch (kind)
Expand Down Expand Up @@ -945,14 +944,12 @@ std::vector<std::pair<TypeId, TypeId>>::const_reverse_iterator DifferEnvironment
return visitingStack.crend();
}


DifferResult diff(TypeId ty1, TypeId ty2)
{
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
return diffUsingEnv(differEnv, ty1, ty2);
}


DifferResult diffWithSymbols(TypeId ty1, TypeId ty2, std::optional<std::string> symbol1, std::optional<std::string> symbol2)
{
DifferEnvironment differEnv{ty1, ty2, symbol1, symbol2};
Expand Down

0 comments on commit d7842e0

Please sign in to comment.