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

Added support for dot notation member access syntax (`parent.field`) #678

Closed ByteWolf-dev closed 1 month ago

ByteWolf-dev commented 1 month ago

What type of change does this PR perform?

Summary

Implemented support for dot notation so that object properties can be accessed.

Closes #67

Detailed Changelog

Added

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.46154% with 14 lines in your changes missing coverage. Please review.

Project coverage is 84.54%. Comparing base (bb7dfd9) to head (e6c11bb).

Files Patch % Lines
...re/src/compiler/semantics/analyser/type-checker.ts 60.00% 5 Missing and 1 partial :warning:
.../core/src/compiler/semantics/types/built-in/obj.ts 40.00% 6 Missing :warning:
...mber-access-expression/member-access-expression.ts 71.42% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #678 +/- ## ============================================ + Coverage 84.00% 84.54% +0.53% ============================================ Files 270 271 +1 Lines 4514 4555 +41 Branches 481 489 +8 ============================================ + Hits 3792 3851 +59 + Misses 583 567 -16 + Partials 139 137 -2 ```

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