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 `Array<T>` type and constant array initialisation expression syntax #662

Closed Luna-Klatzer closed 3 months ago

Luna-Klatzer commented 3 months ago

What type of change does this PR perform?

Summary

Implemented Array<T> type and constant array initialisation expression syntax.

Closes #499

Detailed Changelog

Not present for website/docs changes

Added

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 82.75862% with 40 lines in your changes missing coverage. Please review.

Project coverage is 82.78%. Comparing base (dc1ff5f) to head (62bd081).

Files Patch % Lines
...core/src/compiler/semantics/types/built-in/func.ts 40.00% 8 Missing and 1 partial :warning:
...ore/src/compiler/semantics/types/built-in/array.ts 66.66% 5 Missing and 3 partials :warning:
...re/src/compiler/semantics/analyser/type-checker.ts 83.87% 5 Missing :warning:
.../core/src/compiler/semantics/types/built-in/any.ts 66.66% 2 Missing and 2 partials :warning:
kipper/core/src/errors.ts 75.00% 2 Missing and 1 partial :warning:
...da-primary-expression/lambda-primary-expression.ts 80.00% 2 Missing :warning:
...er-expression/generic-type-specifier-expression.ts 84.61% 1 Missing and 1 partial :warning:
kipper/target-ts/src/target.ts 66.66% 1 Missing and 1 partial :warning:
.../symbol-table/entry/scope-parameter-declaration.ts 0.00% 1 Missing :warning:
...rc/compiler/semantics/types/base/processed-type.ts 90.90% 0 Missing and 1 partial :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #662 +/- ## ============================================ + Coverage 82.58% 82.78% +0.19% ============================================ Files 253 265 +12 Lines 4273 4426 +153 Branches 457 482 +25 ============================================ + Hits 3529 3664 +135 - Misses 604 615 +11 - Partials 140 147 +7 ```

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