Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Jan 29, 2025
1 parent 1a45d59 commit fda8222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,7 @@ Expr State::bindBuiltin(const std::string& name, Kind k, Attr ac, const Expr& t)
Expr State::bindBuiltinEval(const std::string& name, Kind k, Attr ac)
{
Expr c = bindBuiltin("eo::"+name, k, ac);
// these operators are considered evaluatable.
c.getValue()->setFlag(ExprValue::Flag::IS_FLAGS_COMPUTED, true);
c.getValue()->setFlag(ExprValue::Flag::IS_EVAL, true);
return c;
Expand Down

0 comments on commit fda8222

Please sign in to comment.