Skip to content

Commit

Permalink
Update compiler/front/msgs.nim
Browse files Browse the repository at this point in the history
Co-authored-by: zerbina <100542850+zerbina@users.noreply.github.com>
  • Loading branch information
bung87 and zerbina authored Oct 3, 2023
1 parent 07681ff commit b3b5e05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/front/msgs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,9 @@ template globalReport*(conf: ConfigRef, report: ReportTypes) =

proc reportAndForceRaise*(
conf: ConfigRef, r: Report, reportFrom: InstantiationInfo) =
## always call `raiseRecoverableError` except if `doAbort` was returned
## by the `structuredReportHook`.
## Similar to `handleReport`, but, unless overridden with aborting
## (`doAbort`) by the structured report hook, always raises a recoverable
## error.
var rep = r
fillReport(conf, rep, reportFrom)

Expand Down

0 comments on commit b3b5e05

Please sign in to comment.