Skip to content

Commit

Permalink
refactor(pkg): inline [RoleEntry] (#11238)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg authored Dec 24, 2024
1 parent 2017391 commit 0b84c87
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/0install-solver/solver_core.ml
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,12 @@ module Make (Model : S.SOLVER_INPUT) = struct
vars
end

module RoleEntry = struct
include Model.Role
module ImplCache = Cache (struct
include Model.Role

type value = impl_candidates
end
type value = impl_candidates
end)

module ImplCache = Cache (RoleEntry)
module RoleMap = ImplCache.M

type diagnostics = S.lit
Expand Down

0 comments on commit 0b84c87

Please sign in to comment.