swift
8b2d2700 - DiagnoseInfiniteRecursion: re-implement the pass in swift and fix a bug

Commit
268 days ago
DiagnoseInfiniteRecursion: re-implement the pass in swift and fix a bug Fixes a false alarm in case of recursive calls with different type parameters. For example: ``` protocol P { associatedtype E: P } func noRecursionMismatchingTypeArgs1<T: P>(_ t: T.Type) { if T.self == Int.self { return } noRecursionMismatchingTypeArgs1(T.E.self) } ```
Author
Committer
Parents
Loading