-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwarerun-time crashBug → crash: Swift code crashed during executionBug → crash: Swift code crashed during executionruntimeThe Swift RuntimeThe Swift Runtime
Description
Previous ID | SR-4438 |
Radar | None |
Original Reporter | victor.kinvey (JIRA User) |
Type | Bug |
Status | Resolved |
Resolution | Done |
Attachment: Download
Environment
MacOS 10.12.4 / iOS 10.3 / tvOS 10.2
Swift 3.1
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug, RunTimeCrash, Runtime |
Assignee | None |
Priority | Medium |
md5: a5c7b44f905f02d909dd597327cd108e
Issue Description:
Please see the main.swift file attached.
There you will see an example where a SubClass overriding a method in the BaseClass with a completion block as a parameter of the method either crash or return a wrong value.
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwarerun-time crashBug → crash: Swift code crashed during executionBug → crash: Swift code crashed during executionruntimeThe Swift RuntimeThe Swift Runtime