We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
else
1 parent 442bc65 commit 5919a38Copy full SHA for 5919a38
src/jltypes.c
@@ -557,7 +557,8 @@ static int is_typekey_ordered(jl_value_t **key, size_t n)
557
if (jl_is_datatype(k)) {
558
if (!((jl_datatype_t *) k)->typekeyordered)
559
return 0;
560
- } else {
+ }
561
+ else {
562
if (jl_is_type(k) && k != jl_bottom_type && !wrapper_id(k))
563
return 0; // Union or UnionAll which is not a wrapper
564
}
0 commit comments