[SR-9183] Memory leak in is
type-casting pattern in switch
#51674
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
memory leak
bug: Memory leak
runtime
The Swift Runtime
Attachment: Download
Environment
Xcode 10.0 / Swift 4.2
Additional Detail from JIRA
md5: 1cbd33d5cb077ba1afa7b6f8bc6c1436
Issue Description:
The following code seems to leak `toVC`:
I accept that there's a chance this is related to my own code, but since a small change in this code (see attachment) fixed the leak, I felt it was worth a bug report. I haven't been able to find a reduced example yet unfortunately. Let me know if you want me to explore a particular cause or need more input.
The text was updated successfully, but these errors were encountered: