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

More checker features #126

Merged
merged 6 commits into from Apr 8, 2024
Merged

More checker features #126

merged 6 commits into from Apr 8, 2024

Conversation

kaleidawave
Copy link
Owner

@kaleidawave kaleidawave commented Mar 15, 2024

  • Class hoisting and now using as internal definition (in overrides.d.ts).
  • Package imports (looking in node_modules). Uses simple_json_parser
  • Change to FunctionType for effects
  • More mapped type things
  • Class static blocks
  • Template literal type annotations resolving (using existing addition mechanism)
  • Literal type experiment
  • Test for comments as type annotations (added back in Add basic comments-as-types for variables and function parameters #57)
  • Extends super call (only for auto constructors)
  • Fix performance-and-size test
  • Now up to 197 tests passing 🎉

(Could have been done here), but will do in later PRs

  • Merging .d.ts files with their package content
  • Actual function hoisting (only implemented class types here)
  • Object constraint problems
  • Mapped type property value specialisation and remove (needed for Pick)
  • Checking template literal type annotation & specialisation (e.g. `Hello ${T}` :> "Hello Ben" which is "Hello " + T :> "Hello Ben")

@kaleidawave kaleidawave added enhancement New feature or request checking Issues around checking architecture type checking and compiler related general structuring events-effects Related to operations and side effects labels Mar 15, 2024
@kaleidawave
Copy link
Owner Author

Got to the bottom of why .github/workflows/performance-and-size.yml wasn't working. Turns out scc .\demo.ts wasn't working on Linux (Windows filepaths are borkt). Fixed now!

@kaleidawave kaleidawave marked this pull request as ready for review April 8, 2024 13:48
@kaleidawave kaleidawave merged commit 0fa4fa8 into main Apr 8, 2024
1 check passed
@kaleidawave kaleidawave mentioned this pull request Apr 8, 2024
@kaleidawave kaleidawave deleted the checker-improvements-153 branch May 20, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture type checking and compiler related general structuring checking Issues around checking enhancement New feature or request events-effects Related to operations and side effects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant