NY: remove `Statement::Block` from the IR

Open Beginner friendly
#749 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
compilers, rust, solidity
Domain
compilers

Research direction

Start by searching the Rust codebase for Statement::Block and read the IR definition and its uses; issue #745 may provide related context. Confirm that nested Yul blocks are represented in the enclosing statement list and identify any remaining matches that depend on the variant. Done when the variant and its obsolete handling are removed and the Rust project checks pass.

Written by the indexing model from the issue text.

Description

Nothing creates Statement::Block once nested Yul blocks are translated into the enclosing statement list, so the variant can be removed.

See also: #745

Dominant language
Rust
Stars
104
Forks
28
Avg merge
5d 14h
Merged PRs (30d)
24

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from paritytech/revive

All issues in paritytech/revive

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.