Switch from llvm::errs()+exit() to FATAL_USER_ERROR() stream-based handling. (#670)

This is intended to:

- Standardize use of line_num (and highlight where no line_num is available).
- Standardize indications of runtime/compilation errors.
- Make it incrementally easier to write new errors.

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
This commit is contained in:
Jon MeowandChandler Carruth authored and GitHub committed 2021-07-28 10:47:33 -07:00
1 parent dcc694c2e0
commit f0af3cb795
24 files changed
+206 -170

No files matched your search

@@ -1,4 +1,4 @@
ERROR: 10: type error in argument deduction
COMPILATION ERROR: 10: type error in argument deduction
expected: Int
actual: Bool
EXIT CODE: 255