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

feat(lang): Tuple splats & slicing #109

Merged
merged 1 commit into from
Sep 29, 2024
Merged

feat(lang): Tuple splats & slicing #109

merged 1 commit into from
Sep 29, 2024

Conversation

tibordp
Copy link
Member

@tibordp tibordp commented Sep 29, 2024

This introduces some new syntax in order to get rid of the type operators and intrinsics.

Tuples can now be sliced with ranges like slices (if range is constexpr). Likewise they can be splatted into another tuple. This also adds deref_of type in AST (let a: *T;).

Copy link

codecov bot commented Sep 29, 2024

Codecov Report

Attention: Patch coverage is 75.17483% with 71 lines in your changes missing coverage. Please review.

Project coverage is 88.43%. Comparing base (44a7dd0) to head (fa8948e).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/alumina-boot/src/ir/mono/mod.rs 79.16% 40 Missing ⚠️
src/alumina-boot/src/ast/pretty.rs 0.00% 12 Missing ⚠️
src/alumina-boot/src/ast/macros.rs 38.46% 8 Missing ⚠️
src/alumina-boot/src/ast/mod.rs 20.00% 4 Missing ⚠️
src/alumina-boot/src/ast/rebind.rs 0.00% 4 Missing ⚠️
src/alumina-boot/src/ast/types.rs 90.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   88.70%   88.43%   -0.28%     
==========================================
  Files          34       34              
  Lines       16827    16919      +92     
==========================================
+ Hits        14927    14962      +35     
- Misses       1900     1957      +57     
Flag Coverage Δ
88.43% <75.17%> (-0.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@tibordp tibordp merged commit 453c866 into master Sep 29, 2024
9 checks passed
@tibordp tibordp deleted the reflection-followup branch October 5, 2024 17:38
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