mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 06:42:39 +00:00
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:
1 parent
c703c89658
commit
8f0f69b65f
63 files changed
+254
-264
No files matched your search
@@ -11,6 +11,6 @@
|
||||
package ExplorerTest api;
|
||||
|
||||
fn Main() -> i32 {
|
||||
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_invalid_integer.carbon:[[@LINE+1]]: Invalid integer literal: 11111111111111111111111111
|
||||
// CHECK: SYNTAX ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_invalid_integer.carbon:[[@LINE+1]]: Invalid integer literal: 11111111111111111111111111
|
||||
return 11111111111111111111111111;
|
||||
}
|
||||
Reference in new issue
Block a user