update deprecations for c3 0.7.9

This commit is contained in:
Alessandro Mauri 2026-03-11 17:37:07 +01:00
parent 4f7fa7d50c
commit d2a5e4739b
8 changed files with 28 additions and 28 deletions

View file

@ -183,7 +183,7 @@ fn PElemTuple? Ctx.get_elem(&ctx, Id id, ElemType type)
elem.id = id;
elem.layout = {};
if (is_new == false && elem.type != type) {
return WRONG_ELEMENT_TYPE?;
return WRONG_ELEMENT_TYPE~;
} else {
elem.type = type;
}
@ -272,7 +272,7 @@ fn void? Ctx.frame_end(&ctx)
{
Elem* root = ctx.get_active_div()!;
if (root.id != ROOT_ID) {
return WRONG_ID?;
return WRONG_ID~;
}
// 2. clear input fields