diff --git a/src/jltypes.c b/src/jltypes.c index 6781678936e06..721d51c722db3 100644 --- a/src/jltypes.c +++ b/src/jltypes.c @@ -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 }