Skip to content

Commit 38bbc9c

Browse files
committed
fix failing match.ordering tests
1 parent a091598 commit 38bbc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unification/match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def ordering(signatures):
115115
"""
116116
return _toposort(
117117
{
118-
s: [b for a, b in signatuples if edge(s, (a, b))]
118+
s: [t for t in signatures if edge(s, t)]
119119
for s in map(tuple, signatures)
120120
}
121121
)

0 commit comments

Comments
 (0)