mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 22:02:41 +01:00
Add a FatalUserError macro to help print user-caused errors. (#668)
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
5: positional members must come before named members
|
||||
ERROR: 5: positional members must come before named members
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
7: type error in initializer of variable
|
||||
ERROR: 7: type error in initializer of variable
|
||||
expected: Int
|
||||
actual: Bool
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
10: type error in return
|
||||
ERROR: 10: type error in return
|
||||
expected: ()
|
||||
actual: Int
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
6: positional members must come before named members
|
||||
ERROR: 6: positional members must come before named members
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
8: type error in pattern variable
|
||||
ERROR: 8: type error in pattern variable
|
||||
expected: (x = Int, y = Int)
|
||||
actual: (y = Int, x = Int)
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
8: type error in ==
|
||||
ERROR: 8: type error in ==
|
||||
expected: (0 = Int, 1 = Int)
|
||||
actual: (0 = Int)
|
||||
EXIT CODE: 255
|
||||
|
||||
Reference in New Issue
Block a user