HF RL Explorer

Yardl generates invalid C++ HDF5 code for protocol streams containing union-typed items

Yardl generates invalid C++ HDF5 code for protocol streams containing union-typed items: a task in LegoFlow-SWE (Harbor dataset). When a Yardl model defines a protocol with a stream whose items are a union type, the generated C++ HDF5 code fails to compile. For example, given this model snippet:

The task

When a Yardl model defines a protocol with a stream whose items are a union type, the generated C++ HDF5 code fails to compile. For example, given this model snippet:

Part of Lego-X/LegoFlow-SWE.