summaryrefslogtreecommitdiff
path: root/src/wasm-delegations-fields.def
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-delegations-fields.def')
-rw-r--r--src/wasm-delegations-fields.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-delegations-fields.def b/src/wasm-delegations-fields.def
index 41dd7d660..a8dfcc750 100644
--- a/src/wasm-delegations-fields.def
+++ b/src/wasm-delegations-fields.def
@@ -716,7 +716,7 @@ switch (DELEGATE_ID) {
case Expression::Id::StringNewId: {
DELEGATE_START(StringNew);
DELEGATE_FIELD_INT(StringNew, op);
- DELEGATE_FIELD_CHILD(StringNew, length);
+ DELEGATE_FIELD_OPTIONAL_CHILD(StringNew, length);
DELEGATE_FIELD_CHILD(StringNew, ptr);
DELEGATE_END(StringNew);
break;