Skip to content

Make tagged templates a first-class type - #8461

Merged
JonoPrest merged 22 commits into
rescript-lang:masterfrom
JonoPrest:jono/tagged-template-type
Jun 10, 2026
Merged

Make tagged templates a first-class type#8461
JonoPrest merged 22 commits into
rescript-lang:masterfrom
JonoPrest:jono/tagged-template-type

Apply suggestion from @tsnobip

53f0804
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 9, 2026 in 1s

60.95% (+0.03%) compared to 62ecbbc

View this Pull Request on Codecov

60.95% (+0.03%) compared to 62ecbbc

Details

Codecov Report

❌ Patch coverage is 84.61538% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.95%. Comparing base (62ecbbc) to head (53f0804).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
analysis/src/completion_back_end.ml 0.00% 5 Missing ⚠️
compiler/gentype/translate_type_expr_from_types.ml 0.00% 2 Missing ⚠️
compiler/core/lam_analysis.ml 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8461      +/-   ##
==========================================
+ Coverage   60.91%   60.95%   +0.03%     
==========================================
  Files         374      374              
  Lines       54095    54116      +21     
==========================================
+ Hits        32953    32986      +33     
+ Misses      21142    21130      -12     
Files with missing lines Coverage Δ
compiler/core/lam_compile_external_call.ml 90.72% <100.00%> (+0.28%) ⬆️
compiler/core/lam_compile_primitive.ml 72.81% <100.00%> (+0.18%) ⬆️
compiler/core/lam_convert.ml 79.70% <100.00%> (+0.05%) ⬆️
compiler/core/lam_primitive.ml 30.37% <ø> (ø)
compiler/core/lam_print.ml 0.73% <ø> (ø)
compiler/frontend/ast_external_process.ml 78.54% <100.00%> (ø)
compiler/frontend/external_ffi_types.ml 80.68% <100.00%> (ø)
compiler/ml/error_message_utils.ml 77.74% <100.00%> (+4.79%) ⬆️
compiler/ml/lambda.ml 70.37% <ø> (ø)
compiler/ml/predef.ml 97.56% <100.00%> (+0.08%) ⬆️
... and 6 more

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.