Validate declared class fields at construction and attribute writes
This commit is contained in:
@@ -21,6 +21,7 @@ impl Vm {
|
||||
"configure source type checks during read-only call",
|
||||
));
|
||||
}
|
||||
self.objects.set_field_type_checks(enabled)?;
|
||||
self.source_type_checks = enabled;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user