Remove RuntimeError / CompilationError. (#2258)

Instead, work out the prefix for an error based on whether it was produced during parsing, semantic analysis, or when running the program.
This commit is contained in:
Richard Smith authored and GitHub committed 2022-10-04 15:39:04 -07:00
1 parent c703c89658
commit 8f0f69b65f
63 files changed
+254 -264

No files matched your search

@@ -10,7 +10,7 @@
package ExplorerTest api;
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/generic_function/fail_missing_exclam.carbon:[[@LINE+1]]: illegal binding pattern in implicit parameter list
// CHECK: SYNTAX ERROR: {{.*}}/explorer/testdata/generic_function/fail_missing_exclam.carbon:[[@LINE+1]]: illegal binding pattern in implicit parameter list
fn F[T: Type]();
fn Main() -> i32 {