remove dict/hash stuff from the zig builtins

This commit is contained in:
Folkert 2022-07-13 11:59:46 +02:00
parent 4d55b756bb
commit 6c26d8812f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
8 changed files with 3 additions and 1737 deletions

View file

@ -18,7 +18,7 @@ pub fn eq_generic<'a>(
ctx: &mut Context<'a>,
layout: Layout<'a>,
) -> Stmt<'a> {
let eq_todo = || todo!("Specialized `==` operator for `{:?}`", layout);
let _eq_todo = || todo!("Specialized `==` operator for `{:?}`", layout);
let main_body = match layout {
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {

View file

@ -103,7 +103,7 @@ pub fn refcount_generic<'a>(
structure: Symbol,
) -> Stmt<'a> {
debug_assert!(is_rc_implemented_yet(&layout));
let rc_todo = || todo!("Please update is_rc_implemented_yet for `{:?}`", layout);
let _rc_todo = || todo!("Please update is_rc_implemented_yet for `{:?}`", layout);
match layout {
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {