Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the checking of synthesizable conformances under a where clause #1567

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

kyouko-taiga
Copy link
Contributor

Now we can write this:

type Box<T> {
  public let contents: T
  public memberwise init
}

conformance Box: Equatable where T: Equatable {}

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.75%. Comparing base (e47c274) to head (fb2f60c).
Report is 5 commits behind head on main.

Files Patch % Lines
Sources/FrontEnd/TypeChecking/TypeChecker.swift 88.88% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1567      +/-   ##
==========================================
+ Coverage   87.67%   87.75%   +0.08%     
==========================================
  Files         373      373              
  Lines       22620    22621       +1     
==========================================
+ Hits        19831    19852      +21     
+ Misses       2789     2769      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kyouko-taiga kyouko-taiga merged commit d61d644 into main Aug 23, 2024
16 checks passed
@kyouko-taiga kyouko-taiga deleted the conditional-synthetic-conformance branch August 23, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant