Skip to content

Commit

Permalink
fix: apply order on field expose
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs authored and rvcas committed Mar 21, 2023
1 parent 50db958 commit 7c3750b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/aiken-lang/src/uplc.rs
Expand Up @@ -4970,9 +4970,7 @@ impl<'a> CodeGenerator<'a> {
term
};

term = term
.apply(Term::var(CONSTR_FIELDS_EXPOSER.to_string()))
.apply(value);
term = term.apply(Term::var(CONSTR_FIELDS_EXPOSER.to_string()).apply(value));

arg_stack.push(term);
}
Expand Down

0 comments on commit 7c3750b

Please sign in to comment.