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.
13 lines
No EOL
642 B
Text
13 lines
No EOL
642 B
Text
tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts(3,3): error TS2390: Constructor implementation is missing.
|
|
tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts(3,21): error TS1005: '(' expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts (2 errors) ====
|
|
class C {
|
|
// Not a constructor
|
|
public constructor;
|
|
~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2390: Constructor implementation is missing.
|
|
~
|
|
!!! error TS1005: '(' expected.
|
|
} |