Skip to content

Conversation

@TimothyMakkison
Copy link
Contributor

@TimothyMakkison TimothyMakkison commented Oct 3, 2024

When writing a generic contraint for types constrained to unmanaged, Refit will incorrectly emit the invalid syntax unmanaged struct.
This is because types constrained with unmanaged are implicitly struct types meaning that both HasValueTypeConstraint and HasUnmanagedTypeConstraint will return true, emitting the invalid code.

Related #1859

@codecov
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.79%. Comparing base (6ebeda5) to head (8711afd).
Report is 122 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1861      +/-   ##
==========================================
- Coverage   87.73%   83.79%   -3.94%     
==========================================
  Files          33       36       +3     
  Lines        2348     2456     +108     
  Branches      294      346      +52     
==========================================
- Hits         2060     2058       -2     
- Misses        208      316     +108     
- Partials       80       82       +2     

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

@ChrisPulman ChrisPulman enabled auto-merge (squash) October 5, 2024 20:29
@ChrisPulman ChrisPulman merged commit 7e53d81 into reactiveui:main Oct 5, 2024
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants