Kipper-Lang / Kipper

The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
https://kipper-lang.org
GNU General Public License v3.0
26 stars 4 forks source link

Implemented support for arrays in built-in function `len()` #680

Closed Luna-Klatzer closed 1 month ago

Luna-Klatzer commented 1 month ago

What type of change does this PR perform?

Summary

Implemented support for arrays in built-in function len().

Closes #667

Detailed Changelog

Not present for website/docs changes

Added

Changed

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 55.07246% with 31 lines in your changes missing coverage. Please review.

Project coverage is 83.88%. Comparing base (bb7dfd9) to head (18dc68f). Report is 5 commits behind head on dev-next.

Files Patch % Lines
...re/src/compiler/semantics/types/base/union-type.ts 28.57% 14 Missing and 1 partial :warning:
.../core/src/compiler/semantics/types/built-in/any.ts 30.00% 6 Missing and 1 partial :warning:
...core/src/compiler/semantics/types/built-in/func.ts 33.33% 4 Missing :warning:
...src/compiler/semantics/types/base/built-in-type.ts 80.00% 1 Missing and 1 partial :warning:
...ore/src/compiler/semantics/types/built-in/array.ts 66.66% 1 Missing and 1 partial :warning:
...rc/compiler/semantics/types/base/processed-type.ts 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #680 +/- ## ============================================ - Coverage 84.00% 83.88% -0.13% ============================================ Files 270 271 +1 Lines 4514 4561 +47 Branches 481 491 +10 ============================================ + Hits 3792 3826 +34 - Misses 583 593 +10 - Partials 139 142 +3 ```

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