Enforce declared visual subclass field contracts before native effects
Verify Tessera GUI / verify (push) Failing after 7m46s

This commit is contained in:
2026-10-22 11:45:21 +08:00
parent 7cd7ec2c11
commit 50422f801a
7 changed files with 133 additions and 9 deletions
+2
View File
@@ -345,6 +345,8 @@ impl NativeCallable for NativeFactory {
.len()
.checked_sub(fields.len())
.ok_or(invalid("missing subclass field arguments"))?;
cx.store()
.check_class_field_arguments(requested, &values[native_count..])?;
let result = Function {
operation: self.operation,
owner: None,