Skip to content

Commit

Permalink
swift5: ignore metadata during comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Oct 14, 2024
1 parent 0bfe938 commit 7eed3ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions impls/swift5/Sources/core/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ extension Expr: Equatable {
return a == b
case let (.symbol(a), .symbol(b)):
return a == b
case let (.list(a), .list(b)),
let (.vector(a), .vector(b)),
let (.list(a), .vector(b)),
let (.vector(a), .list(b)):
case let (.list(a, _), .list(b, _)),
let (.vector(a, _), .vector(b, _)),
let (.list(a, _), .vector(b, _)),
let (.vector(a, _), .list(b, _)):
return a == b
case let (.hashmap(a), .hashmap(b)):
case let (.hashmap(a, _), .hashmap(b, _)):
return a == b
case let (.function(a), .function(b)):
return a == b
Expand Down

0 comments on commit 7eed3ef

Please sign in to comment.