2014-07-13 01:04:16 +02:00
|
|
|
//// [parserMemberFunctionDeclarationAmbiguities1.ts]
|
|
|
|
class C {
|
|
|
|
public() {}
|
|
|
|
static() {}
|
|
|
|
|
|
|
|
public public() {}
|
|
|
|
public static() {}
|
|
|
|
|
|
|
|
public static public() {}
|
|
|
|
public static static() {}
|
|
|
|
|
|
|
|
static public() {}
|
|
|
|
static static() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [parserMemberFunctionDeclarationAmbiguities1.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype.public = function () { };
|
|
|
|
C.prototype.static = function () { };
|
|
|
|
C.prototype.public = function () { };
|
|
|
|
C.prototype.static = function () { };
|
|
|
|
C.public = function () { };
|
|
|
|
C.static = function () { };
|
|
|
|
C.public = function () { };
|
|
|
|
C.static = function () { };
|
2014-07-13 01:04:16 +02:00
|
|
|
return C;
|
|
|
|
})();
|