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

[stdlib] Generalize some constructs for non-escapable types #73258

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    f08258d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    556615f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a113d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a8eb30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd2378c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d26f7c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2731e52 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    986969d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6328cdd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    478c63e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d889728 View commit details
    Browse the repository at this point in the history
  12. [stdlib] Start generalizing Result

    - Allow nonescapable `Success` types
    - Generalize `Sendable` conformance
    - Generalize `Result.mapError`
    - Generalize `Result.get()`
    
    Do not generalize `Result.init(catching:)` or higher-order functions involving the success value: they cannot possibly work correctly yet.
    lorentey committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    725476e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    979faa6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    713cfc8 View commit details
    Browse the repository at this point in the history