cddl-codegen icon indicating copy to clipboard operation
cddl-codegen copied to clipboard

Tagged basic group in enum generates non-compiling code in WASM

Open rooooooooob opened this issue 1 year ago • 0 comments

third = (bytes, uint)

third_arr = [third]

tagged_third = #6.11(third)

non_overlap_basic_not_basic = [
  third //
  third_arr //
  tagged_third
]

It passes the args to Third::new() in directly to NonOverlapBasicNotBasic::new_tagged_third() in wasm.

It's going to be a good idea to test tagged things more in depth in other places too.

rooooooooob avatar Apr 11 '24 23:04 rooooooooob