mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 15:27:06 -04:00
Add intrinsics.type_is_comparable; Add sort.linear_search
This commit is contained in:
1 parent
99e6eba20f
commit
cbfbff7240
4 files changed
+16
-1
No files matched your search
@@ -3755,6 +3755,7 @@ BuiltinTypeIsProc *builtin_type_is_procs[BuiltinProc__type_simple_boolean_end -
|
||||
is_type_ordered_numeric,
|
||||
is_type_indexable,
|
||||
is_type_sliceable,
|
||||
is_type_comparable,
|
||||
is_type_simple_compare,
|
||||
is_type_dereferenceable,
|
||||
is_type_valid_for_keys,
|
||||
@@ -5568,6 +5569,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
|
||||
case BuiltinProc_type_is_ordered_numeric:
|
||||
case BuiltinProc_type_is_indexable:
|
||||
case BuiltinProc_type_is_sliceable:
|
||||
case BuiltinProc_type_is_comparable:
|
||||
case BuiltinProc_type_is_simple_compare:
|
||||
case BuiltinProc_type_is_dereferenceable:
|
||||
case BuiltinProc_type_is_valid_map_key:
|
||||
|
||||
Reference in new issue
Block a user