escalier-lang / escalier-next

Improved type safety with tight TypeScript interop
https://escalier-lang.github.io/escalier-next/
MIT License
14 stars 0 forks source link

Handle member access on literals and primitives #339

Closed kevinbarabash closed 3 months ago

kevinbarabash commented 3 months ago

This PR also handles making function on objects with a callable signature. This was to support a call to Symbol() in one of the test cases.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 68.42105% with 12 lines in your changes missing coverage. Please review.

Project coverage is 83.97%. Comparing base (ab2767c) to head (1c3dd2b).

Files Patch % Lines
src/Escalier.TypeChecker/Infer.fs 75.75% 8 Missing :warning:
src/Escalier.TypeChecker/Helpers.fs 20.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #339 +/- ## ========================================== - Coverage 83.99% 83.97% -0.03% ========================================== Files 23 23 Lines 11885 11922 +37 Branches 1670 1680 +10 ========================================== + Hits 9983 10011 +28 - Misses 1902 1911 +9 ```

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