diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-12 16:21:47 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-12 16:21:47 +0900 |
| commit | a431f16e6fad74c459f627ef29afc139df0168e4 (patch) | |
| tree | a8deee7ef04421ae142ba7404da20a5ff631dda7 /cmd | |
| parent | 1f45d44e7f4af8b7a8b2b5b0933c5ee872759883 (diff) | |
internal/pkg: in-flight error resolution
The DCE is a slow and overcomplicated solution to a simple problem. This change replaces the DCE by resolving errors in-flight.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mbf/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 2312c818..0024275a 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -1196,6 +1196,10 @@ func main() { if w, ok := err.(interface{ Unwrap() []error }); !ok { log.Fatal(err) } else { + if _, ok = w.(pkg.InputError); ok { + log.Fatal(w) + } + errs := w.Unwrap() for i, e := range errs { if i == len(errs)-1 { |
