Fix ConstraintSolver linker errors in release configuration

This commit is contained in:
Vyacheslav Egorov 2024-03-05 15:05:33 +02:00
parent 443903aa00
commit 5622e8b057

View file

@ -2528,4 +2528,11 @@ LUAU_NOINLINE void ConstraintSolver::throwUserCancelError()
throw UserCancelError(currentModuleName);
}
// Instantiate private template implementations for external callers
template bool ConstraintSolver::unify(NotNull<Scope> scope, Location location, TypeId subType, TypeId superType);
template bool ConstraintSolver::unify(NotNull<Scope> scope, Location location, TypePackId subType, TypePackId superType);
template bool ConstraintSolver::unify(NotNull<const Constraint> constraint, TypeId subTy, TypeId superTy);
template bool ConstraintSolver::unify(NotNull<const Constraint> constraint, TypePackId subTy, TypePackId superTy);
} // namespace Luau