TypeScript/tests/baselines/reference/parserGenericsInVariableDeclaration1.errors.txt

21 lines
629 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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'.