@lib: ES6
on fourslash test case breaks tests
#15978
Labels
Milestone
@lib: ES6
on fourslash test case breaks tests
#15978
TypeScript Version: master
Repro:
// @lib: ES6
ontest/fourslash/commentsFunctionExpression.ts
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.The text was updated successfully, but these errors were encountered: