TypeScript/tests/baselines/reference/mismatchedClassConstructorVariable.errors.txt
2014-09-30 18:09:55 -07:00

12 lines
478 B
Plaintext

tests/cases/compiler/mismatchedClassConstructorVariable.ts(1,5): error TS2300: Duplicate identifier 'baz'.
tests/cases/compiler/mismatchedClassConstructorVariable.ts(2,7): error TS2300: Duplicate identifier 'baz'.
==== tests/cases/compiler/mismatchedClassConstructorVariable.ts (2 errors) ====
var baz: foo;
~~~
!!! error TS2300: Duplicate identifier 'baz'.
class baz { }
~~~
!!! error TS2300: Duplicate identifier 'baz'.
class foo { }