Skip to content

Commit e2a6f8a

Browse files
authored
Merge pull request #413 from gronniger/fix_types_ordering
Added ordering for types
2 parents b5c232c + 085565e commit e2a6f8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ordering.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ end
6969

7070
<(a::Function, b::Function) = nameof(a) <nameof(b)
7171

72+
<(a::Type, b::Type) = nameof(a) <nameof(b)
73+
7274
function cmp_term_term(a, b)
7375
la = arglength(a)
7476
lb = arglength(b)
@@ -125,4 +127,3 @@ function cmp_term_term(a, b)
125127
return na <ₑ nb # all args are equal, compare the name
126128
end
127129
end
128-

0 commit comments

Comments
 (0)