/third_party/typescript/tests/baselines/reference/ |
D | intrinsics.symbols | 8 export var __proto__; 9 >__proto__ : Symbol(__proto__, Decl(intrinsics.ts, 3, 14)) 11 interface __proto__ {} 12 >__proto__ : Symbol(__proto__, Decl(intrinsics.ts, 3, 14), Decl(intrinsics.ts, 3, 25)) 14 class C<T extends { __proto__: __proto__ }> { } 17 >__proto__ : Symbol(__proto__, Decl(intrinsics.ts, 6, 23)) 18 >__proto__ : Symbol(__proto__, Decl(intrinsics.ts, 3, 14), Decl(intrinsics.ts, 3, 25)) 21 __proto__ = 0; // Error, __proto__ not defined 22 m1.__proto__ = 0; 23 >m1.__proto__ : Symbol(m1.__proto__, Decl(intrinsics.ts, 3, 14)) [all …]
|
D | intrinsics.types | 8 export var __proto__; 9 >__proto__ : any 11 interface __proto__ {} 13 class C<T extends { __proto__: __proto__ }> { } 15 >__proto__ : __proto__ 18 __proto__ = 0; // Error, __proto__ not defined 19 >__proto__ = 0 : 0 20 >__proto__ : any 23 m1.__proto__ = 0; 24 >m1.__proto__ = 0 : 0 [all …]
|
D | escapedReservedCompilerNamedIdentifier.types | 3 var __proto__ = 10; 4 >__proto__ : number 8 >o : { __proto__: number; } 9 >{ "__proto__": 0} : { __proto__: number; } 11 "__proto__": 0 12 >"__proto__" : number 16 var b = o["__proto__"]; 18 >o["__proto__"] : number 19 >o : { __proto__: number; } 20 >"__proto__" : "__proto__" [all …]
|
D | protoAsIndexInIndexExpression.types | 16 WorkspacePrototype['__proto__'] = EntityPrototype; 17 >WorkspacePrototype['__proto__'] = EntityPrototype : any 18 >WorkspacePrototype['__proto__'] : error 20 >'__proto__' : "__proto__" 24 >o : { __proto__: number; } 25 >{ "__proto__": 0} : { __proto__: number; } 27 "__proto__": 0 28 >"__proto__" : number 35 "__proto__" = 0; 36 >"__proto__" : number
|
D | intrinsics.js | 5 export var __proto__; 6 interface __proto__ {} 8 class C<T extends { __proto__: __proto__ }> { } 11 __proto__ = 0; // Error, __proto__ not defined 12 m1.__proto__ = 0; 14 class Foo<__proto__> { } 15 var foo: (__proto__: number) => void; 27 __proto__ = 0; // Error, __proto__ not defined 28 m1.__proto__ = 0;
|
D | exportsAndImportsWithUnderscores2.types | 6 >R = { "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; } 8 >{ "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; } 14 "__proto__": {} 15 >"__proto__" : {} 21 >R : { __esmodule: boolean; __proto__: {}; } 23 const { __esmodule, __proto__ } = R; 25 >__proto__ : {} 26 >R : { __esmodule: boolean; __proto__: {}; }
|
D | escapedReservedCompilerNamedIdentifier.symbols | 3 var __proto__ = 10; 4 >__proto__ : Symbol(__proto__, Decl(escapedReservedCompilerNamedIdentifier.ts, 1, 3)) 9 "__proto__": 0 10 >"__proto__" : Symbol("__proto__", Decl(escapedReservedCompilerNamedIdentifier.ts, 2, 9)) 13 var b = o["__proto__"]; 16 >"__proto__" : Symbol("__proto__", Decl(escapedReservedCompilerNamedIdentifier.ts, 2, 9)) 21 __proto__: 0 22 >__proto__ : Symbol(__proto__, Decl(escapedReservedCompilerNamedIdentifier.ts, 6, 10)) 25 var b1 = o1["__proto__"]; 28 >"__proto__" : Symbol(__proto__, Decl(escapedReservedCompilerNamedIdentifier.ts, 6, 10))
|
D | intrinsics.errors.txt | 3 tests/cases/compiler/intrinsics.ts(10,1): error TS2304: Cannot find name '__proto__'. 14 export var __proto__; 15 interface __proto__ {} 17 class C<T extends { __proto__: __proto__ }> { } 20 __proto__ = 0; // Error, __proto__ not defined 22 !!! error TS2304: Cannot find name '__proto__'. 23 m1.__proto__ = 0; 25 class Foo<__proto__> { } 26 var foo: (__proto__: number) => void;
|
D | protoAsIndexInIndexExpression.symbols | 14 WorkspacePrototype['__proto__'] = EntityPrototype; 21 "__proto__": 0 22 >"__proto__" : Symbol("__proto__", Decl(protoAsIndexInIndexExpression_1.ts, 8, 9)) 28 "__proto__" = 0; 29 >"__proto__" : Symbol(C["__proto__"], Decl(protoAsIndexInIndexExpression_1.ts, 11, 9))
|
D | escapedReservedCompilerNamedIdentifier.js | 3 var __proto__ = 10; variable 9 __proto__: 0 property 35 var __proto__ = 10; 41 __proto__: 0 property 67 declare var __proto__: number; 69 __proto__: number; 73 __proto__: number;
|
D | exportsAndImportsWithUnderscores2.symbols | 11 "__proto__": {} 12 >"__proto__" : Symbol("__proto__", Decl(m1.ts, 2, 23)) 19 const { __esmodule, __proto__ } = R; 21 >__proto__ : Symbol(__proto__, Decl(m2.ts, 1, 19))
|
D | classExtendsItselfIndirectly3.js | 25 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 48 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 71 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 94 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 117 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 140 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property
|
D | protoInIndexer.types | 6 this['__proto__'] = null; // used to cause ICE 7 >this['__proto__'] = null : null 8 >this['__proto__'] : error 10 >'__proto__' : "__proto__"
|
D | superInObjectLiterals_ES6.types | 3 >obj : { __proto__: { method(): void; }; method(): void; prop: number; p1: () => void; p2: () => vo… 4 …__proto__: { method() { } }, method() { super.method(); }, get pr… 6 __proto__: { 7 >__proto__ : { method(): void; } 98 >obj : { __proto__: { method(): void; }; method(): void; prop: number; p1: () => void; p2: () => vo… 99 …__proto__: { method() { } }, method() { … 101 __proto__: { 102 >__proto__ : { method(): void; }
|
D | superInObjectLiterals_ES5.types | 3 >obj : { __proto__: { method(): void; }; method(): void; prop: number; p1: () => void; p2: () => vo… 4 …__proto__: { method() { } }, method() { super.method(); }, get pr… 6 __proto__: { 7 >__proto__ : { method(): void; } 98 >obj : { __proto__: { method(): void; }; method(): void; prop: number; p1: () => void; p2: () => vo… 99 …__proto__: { method() { } }, method() { … 101 __proto__: { 102 >__proto__ : { method(): void; }
|
D | superInObjectLiterals_ES5.js | 3 __proto__: { property 35 __proto__: { property 66 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || property 80 __proto__: { property 118 __proto__: { property
|
D | superInObjectLiterals_ES6.js | 3 __proto__: { property 35 __proto__: { property 64 __proto__: { property 94 __proto__: { property
|
D | superInObjectLiterals_ES6.symbols | 5 __proto__: { 6 >__proto__ : Symbol(__proto__, Decl(superInObjectLiterals_ES6.ts, 0, 11)) 64 __proto__: { 65 >__proto__ : Symbol(__proto__, Decl(superInObjectLiterals_ES6.ts, 32, 19))
|
D | superInObjectLiterals_ES5.symbols | 5 __proto__: { 6 >__proto__ : Symbol(__proto__, Decl(superInObjectLiterals_ES5.ts, 0, 11)) 64 __proto__: { 65 >__proto__ : Symbol(__proto__, Decl(superInObjectLiterals_ES5.ts, 32, 19))
|
D | jsDeclarationsFunctionLikeClasses2.types | 178 …__proto__: Vec, get x() { return this.storage[0]; }, /** * @param {number} x … 179 >Point2D.prototype : { __proto__: typeof Vec; x: number; y: number; } 181 >prototype : { __proto__: typeof Vec; x: number; y: number; } 182 …__proto__: Vec, get x() { return this.storage[0]; }, /** * @param {number} x … 184 __proto__: Vec, 185 >__proto__ : typeof Vec 194 >this : { __proto__: typeof Vec; x: number; y: number; } 210 >this : { __proto__: typeof Vec; x: number; y: number; } 222 >this : { __proto__: typeof Vec; x: number; y: number; } 238 >this : { __proto__: typeof Vec; x: number; y: number; } [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | object-prototype-proto.js | 23 assert((new f()).__proto__ === f.prototype); 26 o.__proto__ = Array.prototype; 31 obj.__proto__ = p; 38 shape.__proto__ = circle; 41 assert(shape.__proto__ === circle); 51 shape.__proto__ = shape; 58 assert(o2.__proto__ === null); 61 var o3 = { __proto__ : null }; property 62 assert(o3.__proto__ === undefined); 66 assert(o4.__proto__ === undefined); [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | intrinsics.ts | 6 export var __proto__; variable 7 interface __proto__ {} interface 9 class C<T extends { __proto__: __proto__ }> { } 12 __proto__ = 0; // Error, __proto__ not defined 13 m1.__proto__ = 0; 15 class Foo<__proto__> { } 16 var foo: (__proto__: number) => void;
|
/third_party/jerryscript/tests/jerry/ |
D | regression-test-issue-263.js | 19 ReferenceError(isNaN(__proto__)); 22 isNaN(__proto__); 32 ReferenceError(performance.__proto__.isPrototypeOf(arguments.map(os))); 41 …ject(Int8Array(Function(parseInt(write(),RangeError(__proto__.valueOf()))),Int16Array(Map(),__prot…
|
D | regression-test-issue-264.js | 19 ReferenceError(isNaN(__proto__)); 22 isNaN(__proto__); 34 ReferenceError(performance.__proto__.isPrototypeOf(arguments.map(os))); 43 …ject(Int8Array(Function(parseInt(write(),RangeError(__proto__.valueOf()))),Int16Array(Map(),__prot…
|
/third_party/node/test/parallel/ |
D | test-tls-parse-cert-string.js | 25 __proto__: null, property 41 __proto__: null, property 50 assert.deepStrictEqual(invalidOut, { __proto__: null }); property 56 expected.__proto__ = 'mostly harmless'; 70 assert.deepStrictEqual(ret, { __proto__: null, foo: 'bar' }); property
|