Skip to content

Commit

Permalink
Update Sources/Dependencies/DependencyValues.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored Sep 10, 2024
1 parent 2e36b5e commit c4105b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Dependencies/DependencyValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -481,14 +481,14 @@ public final class CachedValues: @unchecked Sendable {
struct TypeIdentifier: Hashable {
let id: ObjectIdentifier
#if DEBUG
let typeName: String
let base: Any.Type
#endif

init<T>(_ type: T.Type) {
self.id = ObjectIdentifier(type)
#if DEBUG
self.typeName = Dependencies.typeName(type)
#endif
self.base = type
#endif
}

static func == (lhs: Self, rhs: Self) -> Bool {
Expand Down

0 comments on commit c4105b5

Please sign in to comment.