Runtime EXC_BAD_ACCESS crash in libswiftCore.dylib`__swift::__runtime::llvm::hash_combine<__swift::__runtime::llvm::hash_code, __swift::__runtime::llvm::StringRef>: #72979
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
I made a small mistake that the compiler (perhaps erroneously?) accepted. The resulting binary crashes at runtime.
I've seen a few different stack dumps for this particular scenario. The one I've included is the one that happens from the simple reproducible test case. This has also manifested as:
Reproduction
Stack dump
Expected behavior
Can a compiler error be generated here? It was my mistake that I accidentally forgot to use
.
to chain the method call.Environment
Xcode 15.3 / Swift 5.9
Additional information
No response
The text was updated successfully, but these errors were encountered: