Updating baselines.
This commit is contained in:
parent
e426c83017
commit
4aa7c6693c
8 changed files with 22 additions and 127 deletions
|
@ -1,11 +1,8 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected1.ts(1,11): error TS1005: ';' expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected1.ts(1,1): error TS1044: 'protected' modifier cannot appear on a module element.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected1.ts(1,1): error TS2304: Cannot find name 'protected'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected1.ts (2 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected1.ts (1 errors) ====
|
||||||
protected class C {
|
protected class C {
|
||||||
~~~~~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
!!! error TS1044: 'protected' modifier cannot appear on a module element.
|
||||||
}
|
}
|
|
@ -1,11 +1,8 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts(1,11): error TS1005: ';' expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts(1,1): error TS1044: 'protected' modifier cannot appear on a module element.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts(1,1): error TS2304: Cannot find name 'protected'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts (2 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts (1 errors) ====
|
||||||
protected module M {
|
protected module M {
|
||||||
~~~~~~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
!!! error TS1044: 'protected' modifier cannot appear on a module element.
|
||||||
}
|
}
|
|
@ -1,24 +1,9 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,3): error TS1089: 'protected' modifier cannot appear on a constructor declaration.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,13): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,27): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(3,1): error TS1128: Declaration or statement expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,3): error TS2304: Cannot find name 'protected'.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,13): error TS2304: Cannot find name 'constructor'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts (6 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts (1 errors) ====
|
||||||
class C {
|
class C {
|
||||||
protected constructor() { }
|
protected constructor() { }
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
!!! error TS1089: 'protected' modifier cannot appear on a constructor declaration.
|
||||||
~~~~~~~~~~~
|
}
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
|
||||||
~~~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'constructor'.
|
|
||||||
}
|
|
||||||
~
|
|
||||||
!!! error TS1128: Declaration or statement expected.
|
|
|
@ -1,24 +1,9 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,13): error TS1028: Accessibility modifier already seen.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,13): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,24): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(3,1): error TS1128: Declaration or statement expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,3): error TS2304: Cannot find name 'protected'.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts(2,20): error TS2304: Cannot find name 'm'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts (6 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected4.ts (1 errors) ====
|
||||||
class C {
|
class C {
|
||||||
protected public m() { }
|
protected public m() { }
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
~~~~~~
|
~~~~~~
|
||||||
!!! error TS1005: ';' expected.
|
!!! error TS1028: Accessibility modifier already seen.
|
||||||
~
|
}
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
|
||||||
~
|
|
||||||
!!! error TS2304: Cannot find name 'm'.
|
|
||||||
}
|
|
||||||
~
|
|
||||||
!!! error TS1128: Declaration or statement expected.
|
|
|
@ -1,24 +0,0 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(2,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(2,13): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(2,24): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(3,1): error TS1128: Declaration or statement expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(2,3): error TS2304: Cannot find name 'protected'.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts(2,20): error TS2304: Cannot find name 'm'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected5.ts (6 errors) ====
|
|
||||||
class C {
|
|
||||||
protected static m() { }
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
~~~~~~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
|
||||||
~
|
|
||||||
!!! error TS2304: Cannot find name 'm'.
|
|
||||||
}
|
|
||||||
~
|
|
||||||
!!! error TS1128: Declaration or statement expected.
|
|
|
@ -1,27 +1,9 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,10): error TS1029: 'protected' modifier must precede 'static' modifier.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,10): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,20): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,24): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(3,1): error TS1128: Declaration or statement expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,10): error TS2304: Cannot find name 'protected'.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,20): error TS2304: Cannot find name 'm'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts (7 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts (1 errors) ====
|
||||||
class C {
|
class C {
|
||||||
static protected m() { }
|
static protected m() { }
|
||||||
~~~~~~
|
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
!!! error TS1029: 'protected' modifier must precede 'static' modifier.
|
||||||
~
|
}
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~
|
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
|
||||||
~
|
|
||||||
!!! error TS2304: Cannot find name 'm'.
|
|
||||||
}
|
|
||||||
~
|
|
||||||
!!! error TS1128: Declaration or statement expected.
|
|
|
@ -1,24 +1,9 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,13): error TS1028: Accessibility modifier already seen.
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,13): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,25): error TS1005: ';' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(3,1): error TS1128: Declaration or statement expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,3): error TS2304: Cannot find name 'protected'.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts(2,21): error TS2304: Cannot find name 'm'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts (6 errors) ====
|
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected7.ts (1 errors) ====
|
||||||
class C {
|
class C {
|
||||||
protected private m() { }
|
protected private m() { }
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
|
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
!!! error TS1005: ';' expected.
|
!!! error TS1028: Accessibility modifier already seen.
|
||||||
~
|
}
|
||||||
!!! error TS1005: ';' expected.
|
|
||||||
~~~~~~~~~
|
|
||||||
!!! error TS2304: Cannot find name 'protected'.
|
|
||||||
~
|
|
||||||
!!! error TS2304: Cannot find name 'm'.
|
|
||||||
}
|
|
||||||
~
|
|
||||||
!!! error TS1128: Declaration or statement expected.
|
|
|
@ -1,12 +0,0 @@
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected9.ts(2,26): error TS1005: '=' expected.
|
|
||||||
tests/cases/conformance/parser/ecmascript5/Protected/Protected9.ts(2,26): error TS2304: Cannot find name 'p'.
|
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected9.ts (2 errors) ====
|
|
||||||
class C {
|
|
||||||
constructor(protected p) { }
|
|
||||||
~
|
|
||||||
!!! error TS1005: '=' expected.
|
|
||||||
~
|
|
||||||
!!! error TS2304: Cannot find name 'p'.
|
|
||||||
}
|
|
Loading…
Reference in a new issue