Skip to content

Fix constants ignoring ExcludeFromContractsGenerationAttribute #169

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

Saancreed
Copy link
Member

@Komoszek This one is dedicated for you.

Fixes #164.

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.07%. Comparing base (d2604e8) to head (470abb7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   81.26%   82.07%   +0.80%     
==========================================
  Files          34       34              
  Lines         993      993              
  Branches      117      117              
==========================================
+ Hits          807      815       +8     
+ Misses        141      133       -8     
  Partials       45       45              
Flag Coverage Δ
net8.0 82.05% <100.00%> (+0.80%) ⬆️
net9.0 82.05% <100.00%> (+0.80%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@jakubfijalkowski jakubfijalkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+ changelog entry pls

@Saancreed
Copy link
Member Author

  • changelog entry pls

I'm holding off with that until #167 is merged to have a general idea about what will get into 4.0.0 release.

Copy link
Contributor

@Komoszek Komoszek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💋

@Saancreed Saancreed force-pushed the fix-constant-exclusions branch from 079ee8e to e4e5cf3 Compare May 29, 2025 13:44
Copy link

github-actions bot commented May 29, 2025

Test Results

  2 files  ±0    2 suites  ±0   45s ⏱️ +3s
 82 tests ±0   82 ✅ ±0  0 💤 ±0  0 ❌ ±0 
178 runs  ±0  178 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 470abb7. ± Comparison against base commit d2604e8.

♻️ This comment has been updated with latest results.

Base automatically changed from analyzer-issues to main May 30, 2025 12:36
@Saancreed Saancreed force-pushed the fix-constant-exclusions branch from e4e5cf3 to 470abb7 Compare May 30, 2025 12:36
@Saancreed Saancreed merged commit 3eabec6 into main May 30, 2025
4 checks passed
@Saancreed Saancreed deleted the fix-constant-exclusions branch May 30, 2025 12:40
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.

Constant field members are not excluded when marked with ExcludeFromContractsGeneration attribute
4 participants