File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1025,21 +1025,23 @@ See: https://tour.gleam.run/advanced-features/{name}/"
1025
1025
panic_position : unreachable_code_kind,
1026
1026
} => {
1027
1027
let text = match unreachable_code_kind {
1028
- PanicPosition :: PreviousExpression => {
1029
- "This code is unreachable because it comes after a `panic`."
1030
- }
1031
- PanicPosition :: PreviousFunctionArgument => {
1028
+ PanicPosition :: PreviousExpression =>
1029
+ "This code is unreachable because it comes after a `panic`." ,
1030
+ PanicPosition :: PreviousFunctionArgument =>
1032
1031
"This argument is unreachable because the previous one always panics. \
1033
- Your code will crash before reaching this point."
1034
- }
1035
- PanicPosition :: LastFunctionArgument => {
1032
+ Your code will crash before reaching this point.",
1033
+ PanicPosition :: LastFunctionArgument =>
1036
1034
"This function call is unreachable because its last argument always panics. \
1035
+ <<<<<<< HEAD
1037
1036
Your code will crash before reaching this point."
1038
1037
}
1039
1038
PanicPosition :: EchoExpression => {
1040
1039
"This `echo` won't print anything because the expression it \
1041
1040
should be printing always panics."
1042
1041
}
1042
+ =======
1043
+ Your code will crash before reaching this point. ",
1044
+ >>>>>>> 8 fbfe3026 ( refactor: remove unnecessary changes)
1043
1045
} ;
1044
1046
1045
1047
Diagnostic {
You can’t perform that action at this time.
0 commit comments