[SR-10091] Generic typealias extension bug #52493
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Swift 5.0 Xcode 10.2 beta 4 (10P107d)
Additional Detail from JIRA
md5: 559564f7fb973cbd0cabcf2ce7505244
Issue Description:
Compiler can not infer generic type from typealias.
For example, this code is not compile:
But if we add additional constraint to extension, everything is ok:
The text was updated successfully, but these errors were encountered: