Skip to content

Commit

Permalink
added missig cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Nov 4, 2024
1 parent 03f8cff commit 6d267b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/analysis/typepal/FailMessage.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ FailMessage info(value src, str msg, value args..., list[CodeAction] fixes=[]) =

str escapePercent(str s) = replaceAll(s, "%", "%%");

FailMessage convert(error(str msg, loc at)) = fm_error(at, escapePercent(msg), []);
FailMessage convert(warning(str msg, loc at)) = fm_warning(at, escapePercent(msg), []);
FailMessage convert(info(str msg, loc at)) = fm_info(at, escapePercent(msg), []);
FailMessage convert(error(str msg, loc at, fixes=list[CodeAction] fixes)) = fm_error(at, escapePercent(msg), [], fixes=fixes);
FailMessage convert(warning(str msg, loc at, fixes=list[CodeAction] fixes)) = fm_warning(at, escapePercent(msg), [], fixes=fixes);
FailMessage convert(info(str msg, loc at, fixes=list[CodeAction] fixes)) = fm_info(at, escapePercent(msg), [], fixes=fixes);

0 comments on commit 6d267b1

Please sign in to comment.