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

21 lines
629 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts (6 errors) ====
var v : Foo<T> = 1;
~~~~~~
!!! Cannot find name 'Foo'.
var v : Foo<T>= 1;
~~~~~~
!!! Cannot find name 'Foo'.
var v : Foo<Bar<T>> = 1;
~~~~~~~~~~~
!!! Cannot find name 'Foo'.
var v : Foo<Bar<T>>= 1;
~~~~~~~~~~~
!!! Cannot find name 'Foo'.
var v : Foo<Bar<Quux<T>>> = 1;
~~~~~~~~~~~~~~~~~
!!! Cannot find name 'Foo'.
var v : Foo<Bar<Quux<T>>>= 1;
~~~~~~~~~~~~~~~~~
!!! Cannot find name 'Foo'.