2015-02-03 00:15:54 +01:00
|
|
|
//// [recursiveInferenceBug.ts]
|
|
|
|
function f(x: number) {
|
|
|
|
var z = f(x);
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var zz = {
|
|
|
|
g: () =>{ },
|
|
|
|
get f() { return "abc"; },
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//// [recursiveInferenceBug.js]
|
|
|
|
function f(x) {
|
|
|
|
var z = f(x);
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
var zz = {
|
2015-03-09 02:23:23 +01:00
|
|
|
g: function () {
|
|
|
|
},
|
|
|
|
get f() {
|
|
|
|
return "abc";
|
|
|
|
}
|
2015-02-03 00:15:54 +01:00
|
|
|
};
|