Skip to content

Fix isTypeOfExpression in compiler API (#20875). #20884

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
Jan 20, 2018

Conversation

tehwalris
Copy link
Contributor

Fixes #20875. Does it make sense to write a test for this sort of change? If yes, could someone point me towards a similar trivial test against the public API?

@DanielRosenwasser
Copy link
Member

DanielRosenwasser commented Dec 26, 2017

Technically this isn't part of the public-facing API (the module is marked as /** @internal */), so I don't know if it requires tests.

(Apparently that is not true?)

@mhegazy mhegazy closed this Jan 20, 2018
@mhegazy mhegazy reopened this Jan 20, 2018
@mhegazy mhegazy merged commit a7c53c7 into microsoft:master Jan 20, 2018
@mhegazy
Copy link
Contributor

mhegazy commented Jan 20, 2018

thanks @tehwalris!

errendir added a commit to errendir/TypeScript that referenced this pull request Jan 20, 2018
* origin/master: (134 commits)
  Fix isTypeOfExpression in compiler API (microsoft#20875). (microsoft#20884)
  add completion filter for function like body (microsoft#21257)
  Make nonnull assertions and binding patterns apparent declared type locations (microsoft#20995)
  For `{ type: "a" } | { type: "b" }`, find references for the union property (microsoft#21298)
  configureNightly -> configurePrerelease
  Create a 'configure-insiders' and 'publish-insiders' task.
  Add createProgram on WatchCompilerHost
  in goToDefinition, use array helpers and clean up code (microsoft#21304)
  Support testing definition range of a reference gruop (microsoft#21302)
  Handle `undefined` input to firstDefined (microsoft#21300)
  Avoid spreading array (microsoft#21291)
  LEGO: check in for master to temporary branch.
  Accept new baselines
  Add regression test
  Properly handle contravariant inferences in inferReverseMappedType
  Remove unused properties from interface Refactor (microsoft#21286)
  LEGO: check in for master to temporary branch.
  Fold newline logic into getNewLineOrDefaultFromHost
  External test runner updates (microsoft#21276)
  Report more detailed info during script debug failure
  ...
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants