2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/es6ClassTest9.ts(1,18): error TS1005: '{' expected.
|
|
|
|
tests/cases/compiler/es6ClassTest9.ts(1,19): error TS1109: Expression expected.
|
2014-10-01 02:15:18 +02:00
|
|
|
tests/cases/compiler/es6ClassTest9.ts(1,15): error TS2300: Duplicate identifier 'foo'.
|
2014-10-01 20:27:20 +02:00
|
|
|
tests/cases/compiler/es6ClassTest9.ts(2,10): error TS2300: Duplicate identifier 'foo'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-10-01 02:15:18 +02:00
|
|
|
==== tests/cases/compiler/es6ClassTest9.ts (4 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
declare class foo();
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: '{' expected.
|
2014-07-23 01:47:09 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1109: Expression expected.
|
2014-10-01 02:15:18 +02:00
|
|
|
~~~
|
|
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
2014-07-13 01:04:16 +02:00
|
|
|
function foo() {}
|
2014-10-01 20:27:20 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|