This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
38 lines
No EOL
1.9 KiB
Text
38 lines
No EOL
1.9 KiB
Text
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(1,1): error TS2304: Cannot find name 'Foo'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(2,1): error TS2304: Cannot find name 'Foo'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(3,1): error TS2304: Cannot find name 'Foo'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(3,7): error TS1005: '(' expected.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(3,8): error TS2304: Cannot find name 'Bar'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(3,13): error TS1005: ')' expected.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(4,1): error TS2304: Cannot find name 'Foo'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(4,7): error TS1005: '(' expected.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(4,8): error TS2304: Cannot find name 'Bar'.
|
|
tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts(4,16): error TS1005: ')' expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts (10 errors) ====
|
|
Foo<T>();
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Foo'.
|
|
Foo.Bar<T>();
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Foo'.
|
|
Foo<T>.Bar();
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Foo'.
|
|
~
|
|
!!! error TS1005: '(' expected.
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Bar'.
|
|
~
|
|
!!! error TS1005: ')' expected.
|
|
Foo<T>.Bar<T>();
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Foo'.
|
|
~
|
|
!!! error TS1005: '(' expected.
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'Bar'.
|
|
~
|
|
!!! error TS1005: ')' expected.
|
|
|