compiler/ast/errorreporting

  Source   Edit

module handles reporting errors, it's used in conjunction with errorhandling

Todo:

  • write an error reporting proc that handles string conversion and also determines which error handling strategy to use doNothing, raise, etc.

Procs

proc errorHandling(err: PNode): TErrorHandling {....raises: [], tags: [].}
which error handling strategy should be used given the error, use with msg.liMessage when reporting errors.   Source   Edit

Templates

template localReport(conf: ConfigRef; node: PNode)
Write out existing sem report that is stored in the nkError node   Source   Edit