Summary:
I have added the StreamDelegate method "public func stream(_ aStream: Stream, handle eventCode: Stream.Event)" to my swift class and compiled the project. While generating Project-Swift.h, complier failed to compile and show error as "Elaborated type refers to a typedef".
Steps to Reproduce:
1. Add StreamDelegate to your swift class.
2. Add public func stream(_ aStream: Stream, handle eventCode: Stream.Event) to your class.
3. Compile the project.
Expected Results:
Project-Swift.h file should be compiled properly.
Actual Results:
error on Project-Swift.h file at the line : - (void)stream:(NSStream * _Nonnull)aStream handleEvent:(enum NSStreamEvent)eventCode;
iOS Version: iOS 10 beta 1
Xcode Version: Xcode 8.0 beta
Swift Version: 3.0
Thanks!