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

8 lines
329 B
Plaintext
Raw Normal View History

2014-07-31 01:27:13 +02:00
==== tests/cases/compiler/functionOverloadImplementationOfWrongName2.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
function foo(x);
function bar() { }
2014-07-31 01:27:13 +02:00
~~~
!!! Function implementation name must be 'foo'.
2014-07-13 01:04:16 +02:00
function foo(x, y);
2014-07-31 01:27:13 +02:00
~~~
!!! Function implementation is missing or not immediately following the declaration.