TypeScript/tests/baselines/reference/functionExpressionInWithBlock.errors.txt
2014-09-12 13:35:07 -07:00

13 lines
411 B
Plaintext

tests/cases/compiler/functionExpressionInWithBlock.ts(2,7): error TS2410: All symbols within a 'with' block will be resolved to 'any'.
==== tests/cases/compiler/functionExpressionInWithBlock.ts (1 errors) ====
function x() {
with({}) {
~~
!!! error TS2410: All symbols within a 'with' block will be resolved to 'any'.
function f() {
() => this;
}
}
}