-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Closed
Copy link
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 itself
Description
| Previous ID | SR-5993 |
| Radar | None |
| Original Reporter | @DevAndArtist |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Attachment: Download
Environment
Xcode Version 9.0 (9A235), Swift 4
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug |
| Assignee | @slavapestov |
| Priority | Medium |
md5: 8d6c77fe197d852dcf28d4056069c764
duplicates:
- SR-631 Extensions in different files do not recognize each other
relates to:
- SR-631 Extensions in different files do not recognize each other
Issue Description:
A class that is nested inside a different type through extensions from a different file cannot be subclassed as another nested sub-class in yet another different file. `typealias` cannot be used as a workaround.
See `Bar.Sub1` and `Bar.Sub2` in the attached playground.
This might be related to: https://bugs.swift.org/browse/SR-631
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 itself