Skip to content

Remove non null assertion on oldSourceFile.resolvedModules #38984

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

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

sheetalkamat
Copy link
Member

Fixes #37938

As mentioned #37938 (comment) dont see why this should fail so dont have test case but since fix is trivial here it is

@sheetalkamat sheetalkamat merged commit 83f41de into master Jun 9, 2020
@sheetalkamat sheetalkamat deleted the resolveModuleNames branch June 9, 2020 18:52
cangSDARM added a commit to cangSDARM/TypeScript that referenced this pull request Jun 10, 2020
* upstream/master: (36 commits)
  Update baselines (microsoft#39000)
  Make isEntityNameVisible duplicate the node builder logic to always consider type parameters as visible if they are the resolution result (microsoft#38921)
  Schedule failed lookup updates (microsoft#38560)
  Remove non null assertion on oldSourceFile.resolvedModules (microsoft#38984)
  use blocklist instead of blacklist (microsoft#38988)
  LEGO: check in for master to temporary branch.
  Deprecate reloadFs so the tests are more clear in what they are achieving and its easier to track changed behaviour (microsoft#38954)
  LEGO: check in for master to temporary branch.
  LEGO: check in for master to temporary branch.
  Make `hasCorrectArity` handle tuples properly
  fix error when use spread arguments twice
  fix(38081): allow transforming object binding to named imports
  Accept baseline
  fix names
  Fix type and simplify code
  accept new baseline
  fix rebase conflict
  add missing semi
  Add more check
  fix mission baseline
  ...
@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this to release-3.9

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 7, 2020

Heya @RyanCavanaugh, I've started to run the task to cherry-pick this into release-3.9 on this PR at a06e1c5. You can monitor the build here.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 7, 2020
Component commits:
a06e1c5 Remove non null assertion on oldSourceFile.resolvedModules Fixes microsoft#37938
@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I've opened #39480 for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TS Server fatal error: Cannot read property 'get' of undefined
4 participants