Commit 80072e4
committed
breaking: Deprecate
These functions were initially used because a 'die' function is
necessary in most scripts. Because of othe other `_fn`s, a
`print_die_fn` was made, which makes little sense, as if the function
name is required to be printed on fault, it would be better to show the
stacktrace anyways (and implement some functionality for that)
There was also an issue of switching the `die` function from calling
`core.print_error` to `core.print_fatal`. This semantically causes some
issues; for example, internal faults should be treated as "fatal", while
user-input errors should be treated as "errors".
Any `die` functions should be created at hyperupcall/bash-stdprint_die functions1 parent 7ecc1ec commit 80072e4
2 files changed
+35
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 163 | | |
173 | 164 | | |
174 | 165 | | |
| |||
214 | 205 | | |
215 | 206 | | |
216 | 207 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 208 | | |
226 | 209 | | |
227 | 210 | | |
| |||
296 | 279 | | |
297 | 280 | | |
298 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 288 | | |
298 | 289 | | |
299 | 290 | | |
| |||
338 | 329 | | |
339 | 330 | | |
340 | 331 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 332 | | |
349 | 333 | | |
350 | 334 | | |
| |||
446 | 430 | | |
447 | 431 | | |
448 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
449 | 449 | | |
0 commit comments