Skip to content

Commit

Permalink
Fix formatting of else
Browse files Browse the repository at this point in the history
Co-Authored-By: martinholters <martin.holters@hsu-hh.de>
  • Loading branch information
JeffBezanson and martinholters authored Apr 25, 2019
1 parent 442bc65 commit 5919a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jltypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,8 @@ static int is_typekey_ordered(jl_value_t **key, size_t n)
if (jl_is_datatype(k)) {
if (!((jl_datatype_t *) k)->typekeyordered)
return 0;
} else {
}
else {
if (jl_is_type(k) && k != jl_bottom_type && !wrapper_id(k))
return 0; // Union or UnionAll which is not a wrapper
}
Expand Down

0 comments on commit 5919a38

Please sign in to comment.