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

@lib: ES6 on fourslash test case breaks tests #15978

Closed
saschanaz opened this issue May 21, 2017 · 1 comment
Closed

@lib: ES6 on fourslash test case breaks tests #15978

saschanaz opened this issue May 21, 2017 · 1 comment
Labels
Bug A bug in TypeScript Help Wanted You can do this
Milestone

Comments

@saschanaz
Copy link
Contributor

saschanaz commented May 21, 2017

TypeScript Version: master

Repro:

  1. Insert // @lib: ES6 on test/fourslash/commentsFunctionExpression.ts
  2. Run jake runtests t=commentsFunctionExpression

Expected behavior:

The test should run well

Actual behavior:

Numbers unexpectedly becomes any:

AssertionError: At 14: quick info text: expected 'var assigned: (s: string) => any' to equal 'var assigned: (s: string) => number'

Probably the test code does not correctly check /// <reference /> comment in lib.d.ts files but not sure how can it be fixed.

@saschanaz saschanaz reopened this May 21, 2017
@mhegazy mhegazy added Help Wanted You can do this Bug A bug in TypeScript labels Aug 17, 2017
@mhegazy mhegazy added this to the Community milestone Jan 4, 2018
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@jakebailey
Copy link
Member

Just looking at old issues; this doesn't break anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Help Wanted You can do this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants