Skip to content

Conversation

@agilgur5
Copy link
Collaborator

Summary

Move the repeated if (snapshot) check into typecheckFile

Details

  • just slightly simplify / DRY up repeated code

  • also fix indentation in typecheckFile

    • apparently I double-intended this accidentally, so make it single indent

- just slightly simplify / DRY up repeated code
  - this matches the style of some of the other functions in the codebase, such as `emitDeclaration`, `getAllReferences`, etc

- also fix indentation in `typecheckFile`
  - apparently I double-intended this accidentally, so make it single indent
@agilgur5 agilgur5 added the kind: internal Changes only affect the internals, and _not_ the public API or external-facing docs label Jul 22, 2022
@ezolenko ezolenko merged commit ed0fbd9 into ezolenko:master Aug 8, 2022
@agilgur5 agilgur5 deleted the refactor-typecheck-snapshot branch July 2, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: internal Changes only affect the internals, and _not_ the public API or external-facing docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants