/third_party/typescript/tests/baselines/reference/ |
D | computedPropertiesInDestructuring1_ES6.js | 4 let {[foo]: bar} = {bar: "bar"}; property 6 let {["bar"]: bar2} = {bar: "bar"}; property 10 let {[foo2()]: bar3} = {bar: "bar"}; property 12 let [{[foo]: bar4}] = [{bar: "bar"}]; property 13 let [{[foo2()]: bar5}] = [{bar: "bar"}]; property 15 function f1({["bar"]: x}: { bar: number }) {} property 16 function f2({[foo]: x}: { bar: number }) {} property 17 function f3({[foo2()]: x}: { bar: number }) {} property 18 function f4([{[foo]: x}]: [{ bar: number }]) {} property 19 function f5([{[foo2()]: x}]: [{ bar: number }]) {} property [all …]
|
D | computedPropertiesInDestructuring1.js | 4 let {[foo]: bar} = {bar: "bar"}; property 6 let {["bar"]: bar2} = {bar: "bar"}; property 9 let {[foo2()]: bar3} = {bar: "bar"}; property 11 let [{[foo]: bar4}] = [{bar: "bar"}]; property 12 let [{[foo2()]: bar5}] = [{bar: "bar"}]; property 14 function f1({["bar"]: x}: { bar: number }) {} property 15 function f2({[foo]: x}: { bar: number }) {} property 16 function f3({[foo2()]: x}: { bar: number }) {} property 17 function f4([{[foo]: x}]: [{ bar: number }]) {} property 18 function f5([{[foo2()]: x}]: [{ bar: number }]) {} property [all …]
|
D | potentiallyUncalledDecorators.js | 39 @noArgs bar() { } method in A 45 @allRest bar() { } method in B 51 @oneOptional bar() { } method in C 57 @twoOptional bar() { } method in D 63 @threeOptional bar() { } method in E 69 @oneOptionalWithRest bar() { } method in F 75 @anyDec bar() { } method in G 107 bar() { } method in A 119 bar() { } method in B 131 bar() { } method in C [all …]
|
D | nonPrimitiveUnionIntersection.js | 8 const foo: object & {} = {bar: 'bar'}; // ok property 9 const bar: object & {err: string} = {bar: 'bar'}; // error variable 18 var foo = { bar: 'bar' }; // ok property 19 var bar = { bar: 'bar' }; // error property
|
D | genericCallWithObjectLiteralArgs.js | 2 function foo<T>(x: { bar: T; baz: T }) { property 6 var r = foo({ bar: 1, baz: '' }); // error property 7 var r2 = foo({ bar: 1, baz: 1 }); // T = number property 8 var r3 = foo({ bar: foo, baz: foo }); // T = typeof foo property 9 var r4 = foo<Object>({ bar: 1, baz: '' }); // T = Object property 15 var r = foo({ bar: 1, baz: '' }); // error property 16 var r2 = foo({ bar: 1, baz: 1 }); // T = number property 17 var r3 = foo({ bar: foo, baz: foo }); // T = typeof foo property 18 var r4 = foo({ bar: 1, baz: '' }); // T = Object property
|
D | duplicatePropertyNames.js | 23 bar(x) { } method in C 24 bar(x) { } method in C 46 bar: () => { }, method 47 bar: () => { } method 58 C.prototype.bar = function (x) { }; method in C 59 C.prototype.bar = function (x) { }; method in C 66 bar: function () { }, method 67 bar: function () { } method
|
D | instanceMemberAssignsToClassPrototype.js | 8 C.prototype.bar = () => { } // error field in C 9 C.prototype.bar = (x) => x; // ok field in C 10 C.prototype.bar = (x: number) => 1; // ok field in C 22 C.prototype.bar = function (x) { method in C 23 C.prototype.bar = function () { }; // error method in C 24 C.prototype.bar = function (x) { return x; }; // ok method in C 25 C.prototype.bar = function (x) { return 1; }; // ok method in C
|
D | objectLiteralWidened.js | 6 bar: undefined property 11 bar: { property 24 bar: u property 29 bar: { property 39 bar: undefined property 43 bar: { property 53 bar: u property 57 bar: { property
|
D | typeOfThisInMemberFunctions.js | 7 static bar() { method in C 18 static bar() { method in D 29 static bar() { method in E 41 C.bar = function () { function in C 52 D.bar = function () { function in D 63 E.bar = function () { function in E
|
D | jsxDeclarationsWithEsModuleInteropNoCrash.js | 7 bar: PropTypes.bool, property 11 bar: false, property 14 function Foo({ bar }) { field 28 declare function Foo({ bar }: { field 29 bar: any; property
|
D | typeOfPrototype.js | 3 bar = 3; field in Foo 4 static bar = ''; field in Foo 6 Foo.prototype.bar = undefined; // Should be OK method in Foo 17 Foo.prototype.bar = undefined; // Should be OK method in Foo
|
D | inferenceAndSelfReferentialConstraint.js | 16 bar() { method 22 bar: function () { method 28 bar: () => { method 40 bar: function () { method 45 bar: function () { method 50 bar: function () { method
|
D | declarationEmitClassMemberNameConflict.js | 5 bar() { method in C1 14 bar() { method in C2 23 bar() { method in C3 32 bar() { method in C4 46 C1.prototype.bar = function () { method in C1 56 C2.prototype.bar = function () { method in C2 72 C3.prototype.bar = function () { method in C3 88 C4.prototype.bar = function () { method in C4
|
D | typeParameterFixingWithConstraints.js | 11 foo.foo({ bar: null }, bar => null, bar => null); property 15 foo.foo({ bar: null }, function (bar) { return null; }, function (bar) { return null; }); argument
|
D | parameterInitializersForwardReferencing1.js | 4 function f1 (bar = foo) { // unexpected compiler error; works at runtime argument 9 function f2 (bar = (baz = foo) => baz) { // unexpected compiler error; works at runtime argument 14 function f3 (bar = foo, foo = 2) { // correct compiler error, error at runtime argument 18 function f4 (foo, bar = foo) { argument 38 function f8(foo1: string, bar = foo1) { } argument 49 if (bar === void 0) { bar = function (baz) { function
|
D | destructuringReassignsRightHandSide.js | 2 var foo: any = { foo: 1, bar: 2 }; property 3 var bar: any; variable 13 var foo = { foo: 1, bar: 2 }; property 14 var bar; variable
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
D | constify-module-enums-types.hpp | 41 typedef struct bar { struct 52 } bar; argument
|
D | no-derive-default.h | 4 int bar; member 12 struct bar { struct 13 struct foo foo; 14 int baz;
|
D | no-derive-debug.h | 4 int bar; member 12 struct bar { struct 13 struct foo foo; 14 int baz;
|
/third_party/node/deps/npm/node_modules/sorted-union-stream/ |
D | test.js | 106 a.push({bar: '04'}) property 107 a.push({bar: '06'}) property 108 a.push({bar: '10'}) property 109 a.push({bar: '14'}) property 110 a.push({bar: '15'}) property 111 a.push({bar: '20'}) property 112 a.push({bar: '22'}) property 115 b.push({bar: '06'}) property 116 b.push({bar: '11'}) property 117 b.push({bar: '20'}) property [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | inferSetterParamType.ts | 3 get bar() { method in Foo 6 set bar(n) { // should not be an error - infer number method in Foo 12 get bar() { method in Foo2 15 set bar(n:string) { method in Foo2
|
D | potentiallyUncalledDecorators.ts | 48 @allRest bar() { } method in B 54 @oneOptional bar() { } method in C 60 @twoOptional bar() { } method in D 66 @threeOptional bar() { } method in E 72 @oneOptionalWithRest bar() { } method in F 78 @anyDec bar() { } method in G
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | no-derive-debug.rs | 11 bar: ::std::os::raw::c_int, field 18 pub struct bar { struct 24 const UNINIT: ::std::mem::MaybeUninit<bar> = in bindgen_test_layout_bar() argument 48 impl Default for bar { implementation
|
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/ |
D | typeParameterUsedAsTypeParameterConstraint2.ts | 23 function bar<V extends T, W extends U>() { function 32 function bar<V extends T, W extends U>() { function 41 function bar<V extends T, W extends U>() { function 50 function bar<V extends T, W extends U>() { function
|
/third_party/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/ |
D | memberFunctionsWithPublicOverloads.ts | 6 public bar(x: 'hi'); method in C 15 public static bar(x: 'hi'); method in C 26 public bar(x: 'hi'); method in D 35 public static bar(x: 'hi'); method in D
|