Skip to content

Commit

Permalink
Fix ConstraintSolver linker errors in release configuration (#1180)
Browse files Browse the repository at this point in the history
This fixes linker errors reported in
#1178
  • Loading branch information
vegorov-rbx authored Mar 5, 2024
1 parent 443903a commit 9323be6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Analysis/src/ConstraintSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9323be6

Please sign in to comment.