Skip to content

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

Merged
Mohamed Hegazy (mhegazy) merged 1 commit into
microsoft:masterfrom
tehwalris:master
Jan 20, 2018
Merged

Fix isTypeOfExpression in compiler API (#20875).#20884
Mohamed Hegazy (mhegazy) merged 1 commit into
microsoft:masterfrom
tehwalris:master

Conversation

@tehwalris

Copy link
Copy Markdown
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

Daniel Rosenwasser (DanielRosenwasser) commented Dec 26, 2017

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor

thanks Philippe Voinov (@tehwalris)!

Albert Siddhartha Slawinski (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 (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