johnynek / bosatsu

A python-ish pure and total functional programming language
Apache License 2.0
224 stars 11 forks source link

Change test evaluation #1187

Closed johnynek closed 6 months ago

johnynek commented 6 months ago

related to #1180

Just using parallelism doesn't work because MatchlessToValue uses mutable state and it seems that threading breaks.

Considering how to make that work when values can be evaluated in parallel requires some thought. Probably using Eval at all won't work, and we will need something smarter.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 91.55%. Comparing base (04a0e87) to head (4b541bc). Report is 19 commits behind head on main.

Files Patch % Lines
...i/src/main/scala/org/bykn/bosatsu/PathModule.scala 75.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1187 +/- ## ========================================== + Coverage 91.32% 91.55% +0.23% ========================================== Files 96 96 Lines 11846 12014 +168 Branches 2675 2766 +91 ========================================== + Hits 10818 11000 +182 + Misses 1028 1014 -14 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.