Skip to content

Commit

Permalink
Fix missing backtick in escape.d error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorpel committed Jan 10, 2025
1 parent ca01894 commit ff72385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dmd/escape.d
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ bool checkNewEscape(ref Scope sc, Expression e, bool gag)
{
const(char)* msg = v.isParameter() ?
"escaping a reference to parameter `%s` by copying `%s` into allocated memory" :
"escaping a reference to local variable `%s by copying `%s` into allocated memory";
"escaping a reference to local variable `%s` by copying `%s` into allocated memory";
return setUnsafePreview(&sc, fs, gag, e.loc, msg, v, e);
}

Expand Down

0 comments on commit ff72385

Please sign in to comment.