[SR-6109] AnyObject
as associated type constraint causes EXC_BAD_ACCESS
#48664
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
Environment
Xcode Version 9.0 (9A235), Swift 4
Additional Detail from JIRA
md5: c76065f5f8d3ae209d6bdced4604aea6
Issue Description:
The Code bellow with uncommented lines crashes at runtime.
Current workaround is to remove that constraint from the associated type, but in theory this constraint should be allowed.
The text was updated successfully, but these errors were encountered: