2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////interface A<T> { }
|
|
|
|
////
|
|
|
|
////function ma/*makeA*/keA<T>(t: T): A<T> { return null; }
|
|
|
|
////
|
2014-09-30 22:51:47 +02:00
|
|
|
////function /*f*/f<T>(t: T) {
|
2014-07-13 01:04:16 +02:00
|
|
|
//// return makeA(t);
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var x = f(0);
|
|
|
|
////var y = makeA(0);
|
|
|
|
|
|
|
|
goTo.marker("makeA");
|
2014-09-30 22:51:47 +02:00
|
|
|
verify.quickInfoIs("(function) makeA<T>(t: T): A<T>", undefined);
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker("f");
|
2014-09-30 22:51:47 +02:00
|
|
|
verify.quickInfoIs("(function) f<T>(t: T): A<T>", undefined);
|