tooltitude / support

Tooltitude Support
https://www.tooltitude.com
Other
21 stars 0 forks source link

`Unhandled error` message in switch #29

Closed d-enk closed 11 months ago

d-enk commented 11 months ago
package main

func F() error {
    return nil
}

func main() {
    switch err := F(); err { // Unhandled error
    case nil:
    default:
        panic(err)
    }
}
tooltitude-support commented 11 months ago

@d-enk Thanks for the feedback. Will investigate this issue now

tooltitude-support commented 11 months ago

It's now fixed. Will be out in 0.45.0 today.

tooltitude-support commented 11 months ago

v0.45.0 is out. Closing this issue.

⭐ Your Opinion Matters to Us! Leave us a review. ⭐