2014-07-23 02:14:33 +02:00
|
|
|
==== tests/cases/compiler/overloadResolutionOnDefaultConstructor1.ts (1 errors) ====
|
|
|
|
class Bar {
|
|
|
|
public clone() {
|
|
|
|
return new Bar(0);
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
2014-07-23 02:14:33 +02:00
|
|
|
}
|
|
|
|
}
|