Files
swift-mirror/lib/AST/Evaluator.cpp
Andrew Trick c6ba313c03 Type checker: ignore LifetimeDependenceRequest in cycle diagnostic
When reporting the declarations that lead to a cycle, we end up printing an
extra "through reference here" on the function declaration:

class C2: C1, P {
   |       |- note: through reference here
   |       `- note: through reference here
15 |     // expected-note@-1 2{{through reference here}}
16 |     override func run(a: A) {}
   |                   |   |  `- note: while resolving type 'A'
   |                   |   `- note: through reference here
   |                   |- error: circular reference
   |                   |- note: through reference here
   |                   `- note: through reference here

(cherry picked from commit b71cc440c715498114932216d7084fa30657b6bf)
2025-05-21 00:14:31 -07:00

5.9 KiB