TypeScript/tests/baselines/reference/parserConstructorDeclaration8.errors.txt
Cyrus Najmabadi f1a2e41a8a Sort diagnostics in our baseline output.
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.
2014-12-16 15:56:56 -08:00

13 lines
642 B
Plaintext

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.
}