Skip to content

Commit 0282b51

Browse files
Updated test baselines.
1 parent 4aa7c66 commit 0282b51

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//// [Protected5.ts]
2+
class C {
3+
protected static m() { }
4+
}
5+
6+
//// [Protected5.js]
7+
var C = (function () {
8+
function C() {
9+
}
10+
C.m = function () {
11+
};
12+
return C;
13+
})();
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
=== tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts ===
2+
class C {
3+
>C : C
4+
5+
protected static m() { }
6+
>m : () => void
7+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
//// [Protected9.ts]
2+
class C {
3+
constructor(protected p) { }
4+
}
5+
6+
//// [Protected9.js]
7+
var C = (function () {
8+
function C(p) {
9+
this.p = p;
10+
}
11+
return C;
12+
})();
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
=== tests/cases/conformance/parser/ecmascript5/Protected/Protected9.ts ===
2+
class C {
3+
>C : C
4+
5+
constructor(protected p) { }
6+
>p : any
7+
}

0 commit comments

Comments
 (0)