Skip to content

Commit

Permalink
Add missing type to call in b_show_enum_type
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Jan 31, 2024
1 parent 3a129c2 commit aa07fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/builtins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2291,6 +2291,7 @@ std::string b_show_enum_type(EnvI& env, Expression* e, Type t, bool dzn, bool js
auto* call = Call::a(Location().introduce(), enumName, args);
auto* fi = env.model->matchFn(env, call, false, true);
call->decl(fi);
Expression::type(call, Type::parstring());
return eval_string(env, call);
}

Expand Down

0 comments on commit aa07fb7

Please sign in to comment.