Switch executable semantics to use ErrorBuilder directly and relocate macros (#1184)

This commit is contained in:
Jon Meow
2022-04-13 09:05:21 -07:00
committed by GitHub
parent 6542506cdc
commit 87e58f5db3
37 changed files with 327 additions and 376 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ lifetime groups in the future.
For simplicity, `executable_semantics` generally treats all errors as fatal.
Errors caused by bugs in the user-provided Carbon code should be reported with
the macros in [`error.h`](common/error.h). Errors caused by bugs in
`executable_semantics` itself should be reported with
the error builders in [`error_builders.h`](common/error_builders.h). Errors
caused by bugs in `executable_semantics` itself should be reported with
[`CHECK` or `FATAL`](../common/check.h).
## Example Programs (Regression Tests)