Skip to content

Fix `time` to measure control-flow blocks

Roland Kovács requested to merge zen3ger/ion:time-fix into master

This commit fixes the control-flow stack building for the Statement::Time variant. Statement::Time is handled as a block if parse() returns a block-like (partial) statement wrapped by time.

For convenience is_block() is added to make the check less verbose.

Fixes #829 (closed)

Merge request reports