You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. I can reproduce the issue by adding the following code to our iOS-Swift sample app and running a release build on an iOS simulator.
vardict=[Something():"value",Something():"value"]
for _ in 0..<100{dict[Something()]="value \(1)"}classSomething:Hashable{privatevarx:Int=0staticfunc==(lhs:Something, rhs:Something)->Bool{return true
}func hash(into hasher:inoutHasher){
hasher.combine(Int.random(in:0..<100))}}
Platform
macOS
Environment
Production
Installed
Swift Package Manager
Version
8.24.0
Did it work on previous versions?
No response
Steps to Reproduce
Some code crashes in production for violating the Swift Hashable requirement.
Crash report: https://sindresorhus.sentry.io/share/issue/ab8eb435cc71469082a07cdbece72d70/
Expected Result
I expected to see the full error message.
Actual Result
Sentry only shows part of it, making it impossible to track down the issue.
Sentry shows:
While it should have shown:
Kinda looks like some sanitizing going wrong.
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: