Skip to content

Make @as part of the AST - #8619

Merged
cristianoc merged 10 commits into
lambda/split-traversalsfrom
lambda/as-in-the-ast
Sep 5, 2026
Merged

Make @as part of the AST#8619
cristianoc merged 10 commits into
lambda/split-traversalsfrom
lambda/as-in-the-ast

Keep field renames in object spreads

99f0ecf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 5, 2026 in 0s

77.40% (+0.04%) compared to 2dcbc1d

View this Pull Request on Codecov

77.40% (+0.04%) compared to 2dcbc1d

Details

Codecov Report

❌ Patch coverage is 86.60050% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.40%. Comparing base (2dcbc1d) to head (99f0ecf).

Files with missing lines Patch % Lines
compiler/ml/printtyped.ml 0.00% 14 Missing ⚠️
compiler/ml/ast_untagged_variants.ml 76.74% 10 Missing ⚠️
compiler/ml/printtyp.ml 66.66% 4 Missing ⚠️
compiler/ml/ast_helper.ml 93.87% 3 Missing ⚠️
compiler/ml/lambda.ml 75.00% 3 Missing ⚠️
analysis/src/completion_front_end.ml 94.44% 2 Missing ⚠️
compiler/core/js_of_lam_variant.ml 33.33% 2 Missing ⚠️
compiler/core/js_stmt_make.ml 0.00% 2 Missing ⚠️
compiler/frontend/ast_attributes.ml 91.30% 2 Missing ⚠️
compiler/ml/ast_payload.ml 92.00% 2 Missing ⚠️
... and 7 more
Additional details and impacted files
@@                     Coverage Diff                     @@
##           lambda/split-traversals    #8619      +/-   ##
===========================================================
+ Coverage                    77.35%   77.40%   +0.04%     
===========================================================
  Files                          471      471              
  Lines                        63476    63585     +109     
===========================================================
+ Hits                         49102    49218     +116     
+ Misses                       14374    14367       -7     
Files with missing lines Coverage Δ
compiler/core/bs_conditional_initial.ml 100.00% <ø> (ø)
compiler/core/js_dump.ml 90.83% <100.00%> (ø)
compiler/core/lam_compile.ml 89.77% <100.00%> (+0.02%) ⬆️
compiler/core/lam_compile_const.ml 93.93% <100.00%> (ø)
compiler/core/lam_compile_primitive.ml 78.21% <ø> (-0.08%) ⬇️
compiler/frontend/ast_derive_abstract.ml 93.10% <100.00%> (+0.12%) ⬆️
compiler/frontend/ast_derive_js_mapper.ml 84.78% <ø> (ø)
compiler/frontend/ast_external_process.ml 78.40% <ø> (ø)
compiler/frontend/ast_polyvar.ml 93.93% <ø> (ø)
compiler/frontend/bs_ast_invariant.ml 90.32% <100.00%> (-0.16%) ⬇️
... and 42 more

... and 4 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.