johnynek / bosatsu

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

migrate to scala3 #1089

Closed johnynek closed 5 months ago

johnynek commented 7 months ago

migrate the code to scala3 only.

I could work harder to do 2.13 and 3, but that would mean I couldn't use any of the nice new scala 3 features. Since bosatsu is intended to be used as a cli or as a uber-jar which could be shaded, I don't think the version of scala we are using should matter to anyone.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 74 lines in your changes are missing coverage. Please review.

Comparison is base (16045fc) 92.30% compared to head (3243814) 82.38%. Report is 1 commits behind head on master.

Files Patch % Lines
.../main/scala/org/bykn/bosatsu/SourceConverter.scala 84.36% 63 Missing :warning:
base/src/main/scala/org/bykn/bosatsu/Macro.scala 63.63% 4 Missing :warning:
core/src/main/scala/org/bykn/bosatsu/FfiCall.scala 0.00% 2 Missing :warning:
...src/main/scala/org/bykn/bosatsu/PackageError.scala 0.00% 2 Missing :warning:
.../src/main/scala/org/bykn/bosatsu/rankn/Infer.scala 89.47% 2 Missing :warning:
core/src/main/scala/org/bykn/bosatsu/Predef.scala 0.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 @@ ## master #1089 +/- ## ========================================== - Coverage 92.30% 82.38% -9.92% ========================================== Files 93 91 -2 Lines 10564 13513 +2949 Branches 2497 693 -1804 ========================================== + Hits 9751 11133 +1382 - Misses 813 2380 +1567 ```

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