add < and > operators to enviroment

This commit is contained in:
tocariimaa 2025-01-21 14:34:23 -03:00
parent d3f54cf7af
commit 319047ccea

View file

@ -917,6 +917,28 @@ sema_make_builtin_types(SemaCtx *sctx)
)
}
},
{
"<",
{
.kind = SymProc,
.dtype = make_proc_type(
true,
bool_dt,
make_proc_args((DataType *[]){u64_dt, u64_dt}, 2)
)
}
},
{
">",
{
.kind = SymProc,
.dtype = make_proc_type(
true,
bool_dt,
make_proc_args((DataType *[]){u64_dt, u64_dt}, 2)
)
}
},
};
for (isize i = 0; i < countof(builtin_basic_types); ++i) {