Skip to content

Commit

Permalink
Add and correct tests of impl lookup on generic interfaces (#4974)
Browse files Browse the repository at this point in the history
These tests expose cycles during deduction, when the generic parameters
in an impl statement require deduction and the impl clause that
satisfies them comes after the one containing the generic parameters.
This causes the same impl to be looked at repeatedly, and produces a
cycle diagnostic.

---------

Co-authored-by: Geoff Romer <gromer@google.com>
  • Loading branch information
danakj and geoffromer authored Feb 20, 2025
1 parent 4b45caa commit 53e4367
Show file tree
Hide file tree
Showing 2 changed files with 436 additions and 297 deletions.
Loading

0 comments on commit 53e4367

Please # to comment.