Fix ConstraintSolver linker errors in release configuration (#1180)

This fixes linker errors reported in
https://github.com/luau-lang/luau/issues/1178
This commit is contained in:
vegorov-rbx 2024-03-05 09:04:28 -08:00 committed by GitHub
parent 443903aa00
commit 9323be6110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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