2014-07-13 01:04:16 +02:00
|
|
|
//// [concatClassAndString.ts]
|
|
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
|
|
|
class f { }
|
|
|
|
|
|
|
|
f += '';
|
|
|
|
|
|
|
|
|
|
|
|
//// [concatClassAndString.js]
|
2014-08-14 15:42:18 +02:00
|
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
2014-07-13 01:04:16 +02:00
|
|
|
var f = (function () {
|
|
|
|
function f() {
|
|
|
|
}
|
|
|
|
return f;
|
|
|
|
})();
|
|
|
|
f += '';
|