// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #include "DiffAsserts.h" #include namespace Luau { std::string toString(const DifferResult& result) { if (result.diffError) return result.diffError->toString(); else return ""; } template<> std::string diff(TypeId l, TypeId r) { return toString(diff(l, r)); } template<> std::string diff(const Type& l, const Type& r) { return toString(diff(&l, &r)); } } // namespace Luau