TypeScript/tests/baselines/reference/undefinedSymbolReferencedInArrayLiteral1.errors.txt
2014-07-12 17:30:19 -07:00

15 lines
545 B
Plaintext

==== tests/cases/compiler/undefinedSymbolReferencedInArrayLiteral1.ts (3 errors) ====
var tokens = [{ startIndex: deltaOffset }];
~~~~~~~~~~~
!!! Cannot find name 'deltaOffset'.
var functions = [function() {
[1, 2, 3].NonexistantMethod();
~~~~~~~~~~~~~~~~~
!!! Property 'NonexistantMethod' does not exist on type 'number[]'.
anotherNonExistingMethod();
~~~~~~~~~~~~~~~~~~~~~~~~
!!! Cannot find name 'anotherNonExistingMethod'.
}];