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

run list tests #1278

Merged
merged 13 commits into from
Nov 28, 2024
Merged

run list tests #1278

merged 13 commits into from
Nov 28, 2024

Conversation

johnynek
Copy link
Owner

this runs the tests for the Bosatsu/List module using the generated C code.

Two tests currently fail (I'm sure there are many bugs still to squash).

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 48.43750% with 33 lines in your changes missing coverage. Please review.

Project coverage is 89.38%. Comparing base (04a0e87) to head (c0ab058).
Report is 92 commits behind head on main.

Files with missing lines Patch % Lines
...g/bykn/bosatsu/codegen/clang/ClangTranspiler.scala 21.05% 15 Missing ⚠️
...cala/org/bykn/bosatsu/codegen/clang/ClangGen.scala 69.23% 12 Missing ⚠️
...in/scala/org/bykn/bosatsu/codegen/clang/Code.scala 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1278      +/-   ##
==========================================
- Coverage   91.32%   89.38%   -1.94%     
==========================================
  Files          96      106      +10     
  Lines       11846    13299    +1453     
  Branches     2675     3043     +368     
==========================================
+ Hits        10818    11887    +1069     
- Misses       1028     1412     +384     

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

while (slots > 0) {
release_value(items);
items = items + 1;
slots = slots - 1;
}
free(items0);
Copy link
Owner Author

Choose a reason for hiding this comment

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

we don't need to do this... this memory was allocated in the same malloc as s.

@johnynek johnynek merged commit 14cf117 into main Nov 28, 2024
8 checks passed
@johnynek johnynek deleted the oscar/20241126_run_list_tests branch November 28, 2024 22:46
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