Skip to content

Commit

Permalink
chore: remove extraneous dbg statement (#3761)
Browse files Browse the repository at this point in the history
# Description

This removes an extraneous debug statement that was likely missed when
the corresponding PR got merged.

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*



## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
kevaundray committed Dec 10, 2023
1 parent b0289f2 commit 29f2cd9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/noirc_frontend/src/hir/resolution/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1662,10 +1662,7 @@ impl<'a> Resolver<'a> {
fn eval_global_as_array_length(&mut self, global: StmtId) -> u64 {
let stmt = match self.interner.statement(&global) {
HirStatement::Let(let_expr) => let_expr,
other => {
dbg!(other);
return 0;
}
_ => return 0,
};

let length = stmt.expression;
Expand Down

0 comments on commit 29f2cd9

Please sign in to comment.