update deprecations for c3 0.7.9
This commit is contained in:
parent
4f7fa7d50c
commit
d2a5e4739b
8 changed files with 28 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue