Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[result4k] Prevent unintuitively behaving bounds on resultFromCatching from compiling #59

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Commits on Mar 31, 2024

  1. fixed bounds on E in resultFromCatching to match resultFrom

    This prevents the following erronious code from compiling
    
    ```kotlin
    resultFromCatching<NotImplementedError, _>
    ```
    
    which would not ever result in a `Failure<NotImplementedError> as `resultFrom` would not catch it
    
    ```
    MarcusDunn committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    22a096d View commit details
    Browse the repository at this point in the history
  2. updated changelog

    MarcusDunn committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    5d61869 View commit details
    Browse the repository at this point in the history