Created
February 2, 2016 21:41
-
-
Save mbrandonw/2b0e29b1476bc097f256 to your computer and use it in GitHub Desktop.
Swift compiler bug?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // In Parent.swift | |
| struct Parent { | |
| } | |
| // In Child.swift | |
| extension Parent { | |
| struct Child { | |
| } | |
| } | |
| // In Extension.swift | |
| // Compile error: 'Child' is not a member type of 'Parent' | |
| extension Parent.Child { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment