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
$ printf'\x00'| spicy-dump -d foo.spicy[error] foo.spicy:3:17-7:2: cannot coerce expression '(__bits)' of type 'tuple<uint<8>>' to type 'bitfield(8) { a: 0..4; }'[error] foo.spicy:3:17-7:2: cannot coerce expression '__parsed_x' of type 'bitfield(8) { a: 0..4; }' to type 'tuple<a: uint<8>>'[error] spicy-dump: aborting after errors
The text was updated successfully, but these errors were encountered:
Closes#1032. Using a typedef with bitfields works now.
Closes#1484. `&convert` can now refer to individual bitfields.
TODOs:
- Like on the HILTI side, no support for &convert and bit order
yet.
Closes#1032. Using a typedef with bitfields works now.
Closes#1484. `&convert` can now refer to individual bitfields.
TODOs:
- No support for bit order yet.
- Couple of test failures due to incorrectly failing type comparision.
The following code does not compile; I would have expected the
&convert
to have the effect of extracting the element value.The text was updated successfully, but these errors were encountered: