Skip to content

Conversation

@wsmoses
Copy link
Contributor

@wsmoses wsmoses commented Nov 10, 2025

If the method compiling a generated function fails, it will throw a vanilla unhelpful assertion.

By adding more information to the assertion error itself, its easier to figure out what went wrong and why

@wsmoses wsmoses requested review from maleadt and vchuravy November 10, 2025 19:40
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.00%. Comparing base (47da204) to head (c954cde).

Files with missing lines Patch % Lines
src/jlgen.jl 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #738      +/-   ##
==========================================
- Coverage   75.07%   75.00%   -0.07%     
==========================================
  Files          24       24              
  Lines        3639     3641       +2     
==========================================
- Hits         2732     2731       -1     
- Misses        907      910       +3     

☔ 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.

@maleadt
Copy link
Member

maleadt commented Nov 13, 2025

You can just pass an additional message to @assert

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.

3 participants