binding-tools-for-swift icon indicating copy to clipboard operation
binding-tools-for-swift copied to clipboard

Wrong protocol name in where clause

Open stephen-hawley opened this issue 4 years ago • 0 comments

It looks like code that writes generic where clauses is using the presumptive name for a protocol in C# rather than the bound name.

        public static SwiftString PrintIteratorToString<T0,
            ATElement>(T0 thing)where T0 : IIteratorProtocol<ATElement>

The latter where should be where T0: ISwiftIteratorProtocol<ATElement>

stephen-hawley avatar Sep 09 '21 14:09 stephen-hawley