From 3ad83387e1036549a7d5646c7a9a16f48b44b511 Mon Sep 17 00:00:00 2001 From: Mingun Date: Sun, 12 Dec 2021 03:03:56 +0500 Subject: [PATCH] Fix sizeof test for https://github.com/kaitai-io/kaitai_struct_compiler/pull/236 --- formats_err/expr_sizeof_value_dynamic3.ksy | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/formats_err/expr_sizeof_value_dynamic3.ksy b/formats_err/expr_sizeof_value_dynamic3.ksy index 0d0dbfe2d..34312a6db 100644 --- a/formats_err/expr_sizeof_value_dynamic3.ksy +++ b/formats_err/expr_sizeof_value_dynamic3.ksy @@ -1,14 +1,16 @@ -# ? +# expr_sizeof_value_dynamic3.ksy: /instances/body_sizeof/value: +# error: unable to derive sizeof of `Name(identifier(body))`: dynamic sized type +# meta: id: expr_sizeof_value_dynamic3 endian: le seq: - - id: num + - id: num_body type: u2 - id: body type: u1 repeat: expr - repeat-expr: num + repeat-expr: num_body instances: body_sizeof: value: body._sizeof