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

12 lines
478 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/mismatchedClassConstructorVariable.ts(1,5): error TS2300: Duplicate identifier 'baz'.
tests/cases/compiler/mismatchedClassConstructorVariable.ts(2,7): error TS2300: Duplicate identifier 'baz'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/mismatchedClassConstructorVariable.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
var baz: foo;
2014-10-01 02:15:18 +02:00
~~~
!!! error TS2300: Duplicate identifier 'baz'.
2014-07-13 01:04:16 +02:00
class baz { }
~~~
!!! error TS2300: Duplicate identifier 'baz'.
2014-07-13 01:04:16 +02:00
class foo { }