Fix: Change type map length assert to check for greater than equals instead of equals to argument length
This commit is contained in:
@@ -951,7 +951,7 @@ impl<'a> CodeGenerator<'a> {
|
||||
type_map.insert(index, field_type);
|
||||
}
|
||||
|
||||
assert!(type_map.len() == arguments.len());
|
||||
assert!(type_map.len() >= arguments.len());
|
||||
|
||||
let fields = arguments
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user