pointfreeco / swift-custom-dump

A collection of tools for debugging, diffing, and testing your application's data structures.
MIT License
800 stars 89 forks source link

Compiler assertion using latest swift toolchain. #110

Closed Andrewangeta closed 7 months ago

Andrewangeta commented 7 months ago

Describe the bug Compiler assertion when using swift 5.10

To Reproduce Compile the library using the latest Xcode RC that includes swift 5.10 Currently Xcode 15.3 RC

Expected behavior The compiler should compile the source.

Screenshots

Screenshot 2024-03-01 at 5 43 55 PM

Environment

Additional context This API seems to be the culprit https://github.com/pointfreeco/swift-custom-dump/blob/464802ce6c4b9048d351756c65a83e7f5a9fb719/Sources/CustomDump/Internal/Box.swift#L59

Also tagged @stephencelis in Vapor's discord with the conversation for more context

Screenshot 2024-03-01 at 6 17 43 PM
Andrewangeta commented 7 months ago

This compiles fine with the latest 1.2.1 tag.