Skip to content

Commit

Permalink
skip ConstPlaceholder in pretty printer;
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Aug 23, 2023
1 parent 0f4d660 commit 62eb99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ergotree-ir/src/pretty_printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl Print for Expr {
Expr::BinOp(v) => v.expr().print(w),
Expr::GlobalVars(v) => v.print(w),
Expr::ByIndex(v) => v.expr().print(w),
Expr::ConstPlaceholder(_) => todo!(),
Expr::ConstPlaceholder(_) => Ok(self.clone()),
Expr::SubstConstants(_) => todo!(),
Expr::ByteArrayToLong(_) => todo!(),
Expr::ByteArrayToBigInt(_) => todo!(),
Expand Down

0 comments on commit 62eb99b

Please sign in to comment.