/third_party/typescript/tests/baselines/reference/ |
D | divergentAccessorsVisibility1.errors.txt | 7 …(66,14): error TS2341: Property 'PublicPrivate' is private and only accessible within class 'Base'. 8 …,14): error TS2341: Property 'ProtectedPrivate' is private and only accessible within class 'Base'. 9 …72,14): error TS2341: Property 'PrivatePrivate' is private and only accessible within class 'Base'. 10 …(80,19): error TS2341: Property 'PrivatePublic' is private and only accessible within class 'Base'. 11 …,19): error TS2341: Property 'PrivateProtected' is private and only accessible within class 'Base'. 12 …82,19): error TS2341: Property 'PrivatePrivate' is private and only accessible within class 'Base'. 13 …(86,14): error TS2341: Property 'PublicPrivate' is private and only accessible within class 'Base'. 14 …,14): error TS2341: Property 'ProtectedPrivate' is private and only accessible within class 'Base'. 15 …92,14): error TS2341: Property 'PrivatePrivate' is private and only accessible within class 'Base'. 16 …rror TS2445: Property 'PublicProtected' is protected and only accessible within class 'Base' and i… [all …]
|
D | protectedStaticClassPropertyAccessibleWithinSubclass.errors.txt | 1 …ss.ts(7,18): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 2 …s.ts(16,18): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 3 …s.ts(25,18): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 4 …ss.ts(40,6): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 5 …s.ts(41,10): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 6 …s.ts(42,10): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 7 …s.ts(43,10): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 14 Base.x; // OK, accessed within their declaring class 15 Derived1.x; // OK, accessed within their declaring class 16 Derived2.x; // OK, accessed within their declaring class [all …]
|
D | thisTypeAccessibility.errors.txt | 1 …bility.ts(26,10): error TS2341: Property 'p' is private and only accessible within class 'MyClass'. 2 …ility.ts(29,13): error TS2341: Property 'sp' is private and only accessible within class 'MyClass'. 3 …ts(30,13): error TS2445: Property 'spp' is protected and only accessible within class 'MyClass' an… 4 …bility.ts(35,10): error TS2341: Property 'p' is private and only accessible within class 'MyClass'. 5 …ility.ts(38,13): error TS2341: Property 'sp' is private and only accessible within class 'MyClass'. 6 …ts(39,13): error TS2445: Property 'spp' is protected and only accessible within class 'MyClass' an… 7 …bility.ts(44,10): error TS2341: Property 'p' is private and only accessible within class 'MyClass'. 8 …ility.ts(47,13): error TS2341: Property 'sp' is private and only accessible within class 'MyClass'. 9 …ts(48,13): error TS2445: Property 'spp' is protected and only accessible within class 'MyClass' an… 10 …ity.ts(55,10): error TS2341: Property 'p' is private and only accessible within class 'MyGenericCl… [all …]
|
D | privateProtectedMembersAreNotAccessibleDestructuring.errors.txt | 1 …ructuring.ts(12,15): error TS2341: Property 'priv' is private and only accessible within class 'K'. 2 …tructuring.ts(17,7): error TS2341: Property 'priv' is private and only accessible within class 'K'. 3 …ts(18,7): error TS2445: Property 'prot' is protected and only accessible within class 'K' and its … 4 …g.ts(19,7): error TS2341: Property 'privateMethod' is private and only accessible within class 'K'. 5 …tructuring.ts(20,7): error TS2341: Property 'priv' is private and only accessible within class 'K'. 6 …s(20,16): error TS2445: Property 'prot' is protected and only accessible within class 'K' and its … 7 ….ts(20,25): error TS2341: Property 'privateMethod' is private and only accessible within class 'K'. 8 …ructuring.ts(21,14): error TS2341: Property 'priv' is private and only accessible within class 'K'. 9 …s(21,20): error TS2445: Property 'prot' is protected and only accessible within class 'K' and its … 10 ….ts(21,26): error TS2341: Property 'privateMethod' is private and only accessible within class 'K'. [all …]
|
D | jsdocAccessibilityTags.errors.txt | 1 …bilityTag.js(50,14): error TS2341: Property 'priv' is private and only accessible within class 'A'. 2 …ilityTag.js(55,14): error TS2341: Property 'priv2' is private and only accessible within class 'C'. 3 …ibilityTag.js(58,9): error TS2341: Property 'priv' is private and only accessible within class 'A'. 4 …s(58,24): error TS2445: Property 'prot' is protected and only accessible within class 'A' and its … 5 …ibilityTag.js(59,9): error TS2341: Property 'priv' is private and only accessible within class 'A'. 6 …s(59,24): error TS2445: Property 'prot' is protected and only accessible within class 'A' and its … 7 …bilityTag.js(60,9): error TS2341: Property 'priv2' is private and only accessible within class 'C'. 8 …(60,25): error TS2445: Property 'prot2' is protected and only accessible within class 'C' and its … 9 …bilityTag.js(61,9): error TS2341: Property 'priv2' is private and only accessible within class 'C'. 10 …(61,25): error TS2445: Property 'prot2' is protected and only accessible within class 'C' and its … [all …]
|
D | protectedMembersThisParameter.errors.txt | 1 …s(9,9): error TS2445: Property 'secret' is protected and only accessible within class 'Message' an… 2 …er.ts(30,7): error TS2445: Property 'b' is protected and only accessible within class 'B' and its … 4 …er.ts(42,7): error TS2445: Property 'b' is protected and only accessible within class 'B' and its … 5 …er.ts(46,7): error TS2445: Property 'a' is protected and only accessible within class 'A' and its … 6 …er.ts(47,7): error TS2445: Property 'b' is protected and only accessible within class 'B' and its … 7 …er.ts(51,7): error TS2445: Property 'a' is protected and only accessible within class 'A' and its … 8 …er.ts(52,7): error TS2445: Property 'b' is protected and only accessible within class 'B' and its … 9 …er.ts(55,7): error TS2445: Property 'a' is protected and only accessible within class 'A' and its … 10 …er.ts(56,7): error TS2445: Property 'b' is protected and only accessible within class 'B' and its … 11 …r.ts(64,9): error TS2445: Property 'd1' is protected and only accessible within class 'D1' and its… [all …]
|
D | classWithPrivateProperty.errors.txt | 1 …vateProperty.ts(15,20): error TS2341: Property 'x' is private and only accessible within class 'C'. 2 …vateProperty.ts(16,20): error TS2341: Property 'a' is private and only accessible within class 'C'. 3 …vateProperty.ts(17,20): error TS2341: Property 'b' is private and only accessible within class 'C'. 4 …vateProperty.ts(18,20): error TS2341: Property 'c' is private and only accessible within class 'C'. 5 …vateProperty.ts(19,20): error TS2341: Property 'd' is private and only accessible within class 'C'. 6 …vateProperty.ts(20,20): error TS2341: Property 'e' is private and only accessible within class 'C'. 7 …vateProperty.ts(21,20): error TS2341: Property 'f' is private and only accessible within class 'C'. 8 …vateProperty.ts(22,20): error TS2341: Property 'g' is private and only accessible within class 'C'. 28 !!! error TS2341: Property 'x' is private and only accessible within class 'C'. 31 !!! error TS2341: Property 'a' is private and only accessible within class 'C'. [all …]
|
D | awaitInNonAsyncFunction.errors.txt | 1 …nAsyncFunction.ts(4,7): error TS1103: 'for await' loops are only allowed within async functions an… 2 …yncFunction.ts(5,10): error TS1308: 'await' expressions are only allowed within async functions an… 3 …nAsyncFunction.ts(9,7): error TS1103: 'for await' loops are only allowed within async functions an… 4 …ncFunction.ts(10,10): error TS1308: 'await' expressions are only allowed within async functions an… 5 …AsyncFunction.ts(14,7): error TS1103: 'for await' loops are only allowed within async functions an… 6 …yncFunction.ts(15,3): error TS1308: 'await' expressions are only allowed within async functions an… 7 …AsyncFunction.ts(19,7): error TS1103: 'for await' loops are only allowed within async functions an… 8 …ncFunction.ts(20,10): error TS1308: 'await' expressions are only allowed within async functions an… 9 …AsyncFunction.ts(24,7): error TS1103: 'for await' loops are only allowed within async functions an… 10 …yncFunction.ts(25,9): error TS1308: 'await' expressions are only allowed within async functions an… [all …]
|
D | protectedStaticClassPropertyAccessibleWithinSubclass.types | 11 Base.x; // OK, accessed within their declaring class 16 Derived1.x; // OK, accessed within their declaring class 21 Derived2.x; // OK, accessed within their declaring class 40 Base.x; // OK, accessed within a class derived from their declaring class 45 Derived1.x; // OK, accessed within a class derived from their declaring class 50 Derived2.x; // OK, accessed within a class derived from their declaring class 69 Base.x; // OK, accessed within a class derived from their declaring class 74 Derived1.x; // OK, accessed within a class derived from their declaring class 79 Derived2.x; // OK, accessed within a class derived from their declaring class 101 Base.x; // OK, accessed within a class derived from their declaring class [all …]
|
D | classPropertyAsPrivate.errors.txt | 5 …ertyAsPrivate.ts(15,3): error TS2341: Property 'x' is private and only accessible within class 'C'. 6 …ertyAsPrivate.ts(16,3): error TS2341: Property 'y' is private and only accessible within class 'C'. 7 …ertyAsPrivate.ts(17,3): error TS2341: Property 'y' is private and only accessible within class 'C'. 8 …tyAsPrivate.ts(18,3): error TS2341: Property 'foo' is private and only accessible within class 'C'. 9 …ertyAsPrivate.ts(20,3): error TS2341: Property 'a' is private and only accessible within class 'C'. 10 …ertyAsPrivate.ts(21,3): error TS2341: Property 'b' is private and only accessible within class 'C'. 11 …ertyAsPrivate.ts(22,3): error TS2341: Property 'b' is private and only accessible within class 'C'. 12 …tyAsPrivate.ts(23,3): error TS2341: Property 'foo' is private and only accessible within class 'C'. 40 !!! error TS2341: Property 'x' is private and only accessible within class 'C'. 43 !!! error TS2341: Property 'y' is private and only accessible within class 'C'. [all …]
|
D | classPropertyAsProtected.errors.txt | 5 …ed.ts(15,3): error TS2445: Property 'x' is protected and only accessible within class 'C' and its … 6 …ed.ts(16,3): error TS2445: Property 'y' is protected and only accessible within class 'C' and its … 7 …ed.ts(17,3): error TS2445: Property 'y' is protected and only accessible within class 'C' and its … 8 ….ts(18,3): error TS2445: Property 'foo' is protected and only accessible within class 'C' and its … 9 …ed.ts(20,3): error TS2445: Property 'a' is protected and only accessible within class 'C' and its … 10 …ed.ts(21,3): error TS2445: Property 'b' is protected and only accessible within class 'C' and its … 11 …ed.ts(22,3): error TS2445: Property 'b' is protected and only accessible within class 'C' and its … 12 ….ts(23,3): error TS2445: Property 'foo' is protected and only accessible within class 'C' and its … 40 !!! error TS2445: Property 'x' is protected and only accessible within class 'C' and its subclasses. 43 !!! error TS2445: Property 'y' is protected and only accessible within class 'C' and its subclasses. [all …]
|
D | protectedClassPropertyAccessibleWithinSubclass2.errors.txt | 1 …2.ts(13,12): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 4 …2.ts(29,12): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 8 …2.ts(45,12): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 16 …2.ts(78,12): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 17 …s2.ts(90,3): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 18 …s2.ts(91,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 19 …s2.ts(92,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 20 …s2.ts(93,4): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 21 …s2.ts(94,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 34 b.x; // OK, accessed within their declaring class [all …]
|
D | protectedClassPropertyAccessibleWithinNestedSubclass1.errors.txt | 1 …1.ts(15,20): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 4 …1.ts(35,20): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 8 …1.ts(55,20): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 16 …1.ts(96,20): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 17 …1.ts(110,3): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 18 …1.ts(111,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 19 …1.ts(112,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 20 …1.ts(113,4): error TS2445: Property 'x' is protected and only accessible within class 'Derived3' a… 21 …1.ts(114,4): error TS2445: Property 'x' is protected and only accessible within class 'Base' and i… 36 b.x; // OK, accessed within their declaring class [all …]
|
D | awaitLiteralValues.errors.txt | 1 …iteralValues.ts(2,5): error TS1308: 'await' expressions are only allowed within async functions an… 2 …iteralValues.ts(6,5): error TS1308: 'await' expressions are only allowed within async functions an… 3 …teralValues.ts(10,5): error TS1308: 'await' expressions are only allowed within async functions an… 4 …teralValues.ts(14,5): error TS1308: 'await' expressions are only allowed within async functions an… 5 …teralValues.ts(18,5): error TS1308: 'await' expressions are only allowed within async functions an… 6 …teralValues.ts(22,5): error TS1308: 'await' expressions are only allowed within async functions an… 13 !!! error TS1308: 'await' expressions are only allowed within async functions and at the top levels… 20 !!! error TS1308: 'await' expressions are only allowed within async functions and at the top levels… 27 !!! error TS1308: 'await' expressions are only allowed within async functions and at the top levels… 34 !!! error TS1308: 'await' expressions are only allowed within async functions and at the top levels… [all …]
|
D | destructuringAssignment_private.errors.txt | 1 …nment_private.ts(6,10): error TS2341: Property 'x' is private and only accessible within class 'C'. 2 …gnment_private.ts(7,4): error TS2341: Property 'o' is private and only accessible within class 'C'. 3 …ment_private.ts(10,10): error TS2341: Property 'x' is private and only accessible within class 'C'. 4 …nment_private.ts(13,4): error TS2341: Property 'o' is private and only accessible within class 'C'. 15 !!! error TS2341: Property 'x' is private and only accessible within class 'C'. 18 !!! error TS2341: Property 'o' is private and only accessible within class 'C'. 23 !!! error TS2341: Property 'x' is private and only accessible within class 'C'. 28 !!! error TS2341: Property 'o' is private and only accessible within class 'C'.
|
D | destructureComputedProperty.errors.txt | 1 …mputedProperty.ts(7,9): error TS2341: Property 'p' is private and only accessible within class 'C'. 2 …mputedProperty.ts(8,9): error TS2341: Property 'p' is private and only accessible within class 'C'. 3 …mputedProperty.ts(9,9): error TS2341: Property 'p' is private and only accessible within class 'C'. 4 …putedProperty.ts(10,9): error TS2341: Property 'p' is private and only accessible within class 'C'. 16 !!! error TS2341: Property 'p' is private and only accessible within class 'C'. 19 !!! error TS2341: Property 'p' is private and only accessible within class 'C'. 22 !!! error TS2341: Property 'p' is private and only accessible within class 'C'. 25 !!! error TS2341: Property 'p' is private and only accessible within class 'C'.
|
D | protectedStaticClassPropertyAccessibleWithinSubclass.symbols | 11 Base.x; // OK, accessed within their declaring class 16 Derived1.x; // OK, accessed within their declaring class 21 Derived2.x; // OK, accessed within their declaring class 40 Base.x; // OK, accessed within a class derived from their declaring class 45 Derived1.x; // OK, accessed within a class derived from their declaring class 50 Derived2.x; // OK, accessed within a class derived from their declaring class 69 Base.x; // OK, accessed within a class derived from their declaring class 74 Derived1.x; // OK, accessed within a class derived from their declaring class 79 Derived2.x; // OK, accessed within a class derived from their declaring class 101 Base.x; // OK, accessed within a class derived from their declaring class [all …]
|
D | classConstructorAccessibility.errors.txt | 1 …): error TS2673: Constructor of class 'D' is private and only accessible within the class declarat… 2 … error TS2674: Constructor of class 'E' is protected and only accessible within the class declarat… 3 …error TS2673: Constructor of class 'D<T>' is private and only accessible within the class declarat… 4 …ror TS2674: Constructor of class 'E<T>' is protected and only accessible within the class declarat… 23 !!! error TS2673: Constructor of class 'D' is private and only accessible within the class declarat… 26 !!! error TS2674: Constructor of class 'E' is protected and only accessible within the class declar… 44 !!! error TS2673: Constructor of class 'D<T>' is private and only accessible within the class decla… 47 !!! error TS2674: Constructor of class 'E<T>' is protected and only accessible within the class dec…
|
D | protectedMembers.errors.txt | 1 …rs.ts(40,4): error TS2445: Property 'x' is protected and only accessible within class 'C1' and its… 2 …rs.ts(41,4): error TS2445: Property 'f' is protected and only accessible within class 'C1' and its… 3 …s.ts(42,4): error TS2445: Property 'sx' is protected and only accessible within class 'C1' and its… 4 …s.ts(43,4): error TS2445: Property 'sf' is protected and only accessible within class 'C1' and its… 5 …rs.ts(46,4): error TS2445: Property 'x' is protected and only accessible within class 'C1' and its… 6 …rs.ts(47,4): error TS2445: Property 'f' is protected and only accessible within class 'C2' and its… 7 …s.ts(48,4): error TS2445: Property 'sx' is protected and only accessible within class 'C1' and its… 8 …s.ts(49,4): error TS2445: Property 'sf' is protected and only accessible within class 'C2' and its… 61 !!! error TS2445: Property 'x' is protected and only accessible within class 'C1' and its subclasse… 64 !!! error TS2445: Property 'f' is protected and only accessible within class 'C1' and its subclasse… [all …]
|
D | constructorParameterProperties.errors.txt | 1 …terProperties.ts(8,12): error TS2341: Property 'x' is private and only accessible within class 'C'. 2 …es.ts(9,12): error TS2445: Property 'z' is protected and only accessible within class 'C' and its … 3 …roperties.ts(18,12): error TS2341: Property 'x' is private and only accessible within class 'D<T>'. 5 …s.ts(20,12): error TS2445: Property 'z' is protected and only accessible within class 'D<T>' and i… 18 !!! error TS2341: Property 'x' is private and only accessible within class 'C'. 21 !!! error TS2445: Property 'z' is protected and only accessible within class 'C' and its subclasses. 32 !!! error TS2341: Property 'x' is private and only accessible within class 'D<T>'. 38 !!! error TS2445: Property 'z' is protected and only accessible within class 'D<T>' and its subclas…
|
/third_party/rust/crates/cxx/tests/ui/ |
D | opaque_autotraits.stderr | 7 = help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void` 8 = note: required because it appears within the type `[*const void; 0]` 9 note: required because it appears within the type `Opaque` 14 note: required because it appears within the type `Opaque` 31 = help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void` 32 = note: required because it appears within the type `[*const void; 0]` 33 note: required because it appears within the type `Opaque` 38 note: required because it appears within the type `Opaque` 53 …| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `P… 57 note: required because it appears within the type `PhantomData<PhantomPinned>` [all …]
|
D | vector_autotraits.stderr | 7 …= help: within `CxxVector<NotThreadSafe>`, the trait `Send` is not implemented for `*const cxx::vo… 8 = note: required because it appears within the type `[*const void; 0]` 9 note: required because it appears within the type `Opaque` 14 note: required because it appears within the type `NotThreadSafe` 19 = note: required because it appears within the type `[NotThreadSafe]` 20 note: required because it appears within the type `PhantomData<[NotThreadSafe]>` 25 note: required because it appears within the type `CxxVector<NotThreadSafe>`
|
/third_party/node/test/es-module/ |
D | test-esm-type-flag-package-scopes.mjs | 7 describe('the type flag should change the interpretation of certain files within a "type": "module"… 9 …it('should run as ESM an extensionless JavaScript file within a "type": "module" scope', async () … 21 … it('should import an extensionless JavaScript file within a "type": "module" scope', async () => { 27 …it('should import an extensionless JavaScript file within a "type": "module" scope under node_modu… 35 … it('should run as Wasm an extensionless Wasm file within a "type": "module" scope', async () => { 49 …it('should import as Wasm an extensionless Wasm file within a "type": "module" scope', async () =>… 54 … it('should import an extensionless Wasm file within a "type": "module" scope under node_modules', 62 describe(`the type flag should change the interpretation of certain files within a package scope th… 64 …it('should run as ESM a .js file within package scope that has no defined "type" and is not under … 77 …it(`should run as ESM an extensionless JavaScript file within a package scope that has no defined … [all …]
|
/third_party/rust/crates/codespan/codespan-reporting/tests/snapshots/ |
D | term__overlapping__medium_no_color.snap | 6 typeck_type_placeholder_item.rs:1:18: error[E0121]: the type placeholder `_` is not allowed within … 7 typeck_type_placeholder_item.rs:2:25: error[E0121]: the type placeholder `_` is not allowed within … 8 typeck_type_placeholder_item.rs:2:28: error[E0121]: the type placeholder `_` is not allowed within … 10 …= help: within `[closure@no_send_res_ports.rs:29:19: 33:6 x:main::Foo]`, the trait `std::marker::S… 11 = note: required because it appears within the type `Port<()>` 12 = note: required because it appears within the type `main::Foo` 13 …= note: required because it appears within the type `[closure@no_send_res_ports.rs:29:19: 33:6 x:m…
|
D | term__overlapping__medium_color.snap | 6 …right}error[E0121]{bold bright}: the type placeholder `_` is not allowed within types on item sign… 7 …right}error[E0121]{bold bright}: the type placeholder `_` is not allowed within types on item sign… 8 …right}error[E0121]{bold bright}: the type placeholder `_` is not allowed within types on item sign… 10 …{fg:Blue}={/} help: within `[closure@no_send_res_ports.rs:29:19: 33:6 x:main::Foo]`, the trait `st… 11 {fg:Blue}={/} note: required because it appears within the type `Port<()>` 12 {fg:Blue}={/} note: required because it appears within the type `main::Foo` 13 …{fg:Blue}={/} note: required because it appears within the type `[closure@no_send_res_ports.rs:29:…
|