[SR-11519] Dependencies between generics always show up warning #53920
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
generics
Feature: generic declarations and types
improvement
Additional Detail from JIRA
md5: 44412cec286246be76f057af4dba2006
Issue Description:
I write a network module:
There are some dependencies between generics when I write a extension of BaseRequest but Xcode always keep showing me warning:
If I don't write where Parser == ApiProvider<Self, Parser>.ParserType , typealias Provider = ApiProvider<Self, Parser> will has error:
'ApiProvider' requires that 'Self.Parser' inherit from 'LMBaseParser'
so I have to write this
The text was updated successfully, but these errors were encountered: