2015-02-03 00:30:33 +01:00
|
|
|
//// [parsingClassRecoversWhenHittingUnexpectedSemicolon.ts]
|
|
|
|
class C {
|
|
|
|
public f() { };
|
|
|
|
private m;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [parsingClassRecoversWhenHittingUnexpectedSemicolon.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype.f = function () { };
|
2015-02-03 00:30:33 +01:00
|
|
|
return C;
|
|
|
|
})();
|