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
Not for this PR, but I see this pattern a lot in tests. I wonder if it makes sense to create convenience methods on MastForest which would create a node and add it in a single call. For example, something like:
let last_basic_block_id = mast_forest.ensure_basic_block(vec![Operation::FmpAdd]);
The text was updated successfully, but these errors were encountered:
Originally posted by @bobbinth in #1349 (comment)
Not for this PR, but I see this pattern a lot in tests. I wonder if it makes sense to create convenience methods on
MastForest
which would create a node and add it in a single call. For example, something like:The text was updated successfully, but these errors were encountered: