nasa / fpp

F Prime Prime: A modeling language for F Prime
https://fprime.jpl.nasa.gov
Apache License 2.0
49 stars 31 forks source link

Remove FW_ARRAY_TO_STRING #375

Closed bocchino closed 4 months ago

bocchino commented 10 months ago

The compilation that is now conditioned on FW_ARRAY_TO_STRING should be conditioned on FW_SERIALIZABLE_TO_STRING. It doesn't make sense to treat arrays separately from structs, because structs can have arrays in them. In other words, FW_SERIALIZABLE_TO_STRING should not govern just the code gen for structs: it should govern the code gen of all serializable types.

Related to #303.