We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53432d5 commit 0d79b95Copy full SHA for 0d79b95
src/cgutils.cpp
@@ -3280,7 +3280,7 @@ static jl_cgval_t emit_setfield(jl_codectx_t &ctx,
3280
const jl_cgval_t *modifyop, const std::string &fname)
3281
{
3282
if (!sty->name->mutabl && checked) {
3283
- std::string msg = fname + "immutable struct of type "
+ std::string msg = fname + ": immutable struct of type "
3284
+ std::string(jl_symbol_name(sty->name->name))
3285
+ " cannot be changed";
3286
emit_error(ctx, msg);
0 commit comments