You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where value = i32.
More specifically, the Read TOML step parses all decimal numerics as I64. As a result of this action, the non-declared "value" in the 2nd line uses a default I64 value of 0. But the first line yields a I32 value. This upsets LabVIEW's attempt to unflatten the variant structure to a typedef.
The solution was pretty simple - add cases to LV_to_TOML to unflatten each numeric to its datatype explicitely
The text was updated successfully, but these errors were encountered:
The following TOML string fails in the step for TOML to LabVIEW:
MyTableArray=[
{value=1, string="hello" },
{ string="hello" },
]
Where value = i32.
More specifically, the Read TOML step parses all decimal numerics as I64. As a result of this action, the non-declared "value" in the 2nd line uses a default I64 value of 0. But the first line yields a I32 value. This upsets LabVIEW's attempt to unflatten the variant structure to a typedef.
The solution was pretty simple - add cases to LV_to_TOML to unflatten each numeric to its datatype explicitely
The text was updated successfully, but these errors were encountered: