| /third_party/typescript/tests/baselines/reference/ |
| D | letAndVarRedeclaration.errors.txt | 7 tests/cases/compiler/letAndVarRedeclaration.ts(12,9): error TS2451: Cannot redeclare block-scoped v… 8 tests/cases/compiler/letAndVarRedeclaration.ts(14,13): error TS2451: Cannot redeclare block-scoped … 9 tests/cases/compiler/letAndVarRedeclaration.ts(17,18): error TS2451: Cannot redeclare block-scoped … 13 tests/cases/compiler/letAndVarRedeclaration.ts(28,9): error TS2451: Cannot redeclare block-scoped v… 14 tests/cases/compiler/letAndVarRedeclaration.ts(30,13): error TS2451: Cannot redeclare block-scoped … 15 tests/cases/compiler/letAndVarRedeclaration.ts(33,18): error TS2451: Cannot redeclare block-scoped … 16 tests/cases/compiler/letAndVarRedeclaration.ts(37,5): error TS2451: Cannot redeclare block-scoped v… 17 tests/cases/compiler/letAndVarRedeclaration.ts(38,10): error TS2451: Cannot redeclare block-scoped … 18 tests/cases/compiler/letAndVarRedeclaration.ts(42,9): error TS2451: Cannot redeclare block-scoped v… 19 tests/cases/compiler/letAndVarRedeclaration.ts(43,14): error TS2451: Cannot redeclare block-scoped … [all …]
|
| D | letDeclarations-scopes-duplicates.errors.txt | 1 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(2,5): error TS2451: Cannot redeclare bloc… 2 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(3,5): error TS2451: Cannot redeclare bloc… 3 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(5,5): error TS2451: Cannot redeclare bloc… 4 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(6,7): error TS2451: Cannot redeclare bloc… 5 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(8,7): error TS2451: Cannot redeclare bloc… 6 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(9,5): error TS2451: Cannot redeclare bloc… 7 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(11,7): error TS2451: Cannot redeclare blo… 8 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(12,7): error TS2451: Cannot redeclare blo… 9 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(14,5): error TS2300: Duplicate identifier… 10 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(15,5): error TS2300: Duplicate identifier… [all …]
|
| D | jsFileCompilationBindErrors.errors.txt | 1 tests/cases/compiler/a.js(1,5): error TS2451: Cannot redeclare block-scoped variable 'C'. 2 tests/cases/compiler/a.js(2,5): error TS2451: Cannot redeclare block-scoped variable 'C'. 10 !!! error TS2451: Cannot redeclare block-scoped variable 'C'. 11 let C = 0; // Error: Cannot redeclare block-scoped variable 'C'. 13 !!! error TS2451: Cannot redeclare block-scoped variable 'C'. 24 var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
|
| D | constDeclarations-useBeforeDefinition.errors.txt | 1 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts(2,5): error TS2448: Block-scoped vari… 2 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts(8,5): error TS2448: Block-scoped vari… 5 ==== tests/cases/compiler/constDeclarations-useBeforeDefinition.ts (2 errors) ==== 9 !!! error TS2448: Block-scoped variable 'c1' used before its declaration. 10 !!! related TS2728 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts:3:11: 'c1' is decl… 14 var v1; 18 !!! error TS2448: Block-scoped variable 'v1' used before its declaration. 19 !!! related TS2728 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts:9:11: 'v1' is decl…
|
| D | letDeclarations-useBeforeDefinition.errors.txt | 1 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts(2,5): error TS2448: Block-scoped variab… 2 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts(8,5): error TS2448: Block-scoped variab… 5 ==== tests/cases/compiler/letDeclarations-useBeforeDefinition.ts (2 errors) ==== 9 !!! error TS2448: Block-scoped variable 'l1' used before its declaration. 10 !!! related TS2728 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts:3:9: 'l1' is declare… 14 var v1; 18 !!! error TS2448: Block-scoped variable 'v1' used before its declaration. 19 !!! related TS2728 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts:9:9: 'v1' is declare…
|
| D | letDeclarations-scopes-duplicates6.errors.txt | 1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 6 var var1 = 0; 8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'. 14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
|
| D | letDeclarations-scopes-duplicates7.errors.txt | 1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'. 12 var var1 = 0; 14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
|
| D | for-of54.errors.txt | 1 …ormance/es6/for-ofStatements/for-of54.ts(2,9): error TS2481: Cannot initialize outer scoped variab… 4 ==== tests/cases/conformance/es6/for-ofStatements/for-of54.ts (1 errors) ==== 6 var v = 0; 8 !!! error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped dec…
|
| D | ES5For-of17.errors.txt | 1 tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts(3,20): error TS2448: Block-scope… 4 ==== tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts (1 errors) ==== 9 !!! error TS2448: Block-scoped variable 'v' used before its declaration. 10 !!! related TS2728 tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts:3:14: 'v' is … 11 var x = v;
|
| D | exportBinding.errors.txt | 1 tests/cases/conformance/es6/modules/exportConsts.ts(3,16): error TS2448: Block-scoped variable 'x' … 11 !!! error TS2448: Block-scoped variable 'x' used before its declaration. 27 var y = 'y'
|
| D | parameterInitializersForwardReferencing1.errors.txt | 6 …ons/parameterInitializersForwardReferencing1.ts(29,15): error TS2448: Block-scoped variable 'foo' … 15 var foo: number = 2; 20 var foo: number = 2; 50 !!! error TS2448: Block-scoped variable 'foo' used before its declaration.
|
| D | typeGuardsInFunctionAndModuleBlock.js | 2 // typeguards are scoped in function/module block 8 var b = x; // number | boolean 18 var b = x; // new scope - number | boolean 28 var b = x; // new scope - number | boolean 38 var b = x; // new scope - number | boolean 47 var y = x; // string; 49 var z = x; // string 54 var x: number | string | boolean; 56 var b = x; // new scope - number | boolean | string 57 var y: string; [all …]
|
| D | jsFileCompilationBindErrors.types | 6 let C = 0; // Error: Cannot redeclare block-scoped variable 'C'. 23 var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
|
| D | localTypes4.js | 18 // Type parameters and top-level local types are in same declaration space 26 // Local types are block scoped 55 // Type parameters and top-level local types are in same declaration space 61 var v; 64 var v_1;
|
| /third_party/typescript/src/compiler/factory/ |
| D | emitHelpers.ts | 18 …uments: boolean, promiseConstructor: EntityName | Expression | undefined, body: Block): Expression; 200 for (let i = 0; i < elements.length - 1; i++) { 237 …sLexicalArguments: boolean, promiseConstructor: EntityName | Expression | undefined, body: Block) { 393 * @param args Names which need to be made file-level unique 402 result += input[input.length - 1]; 412 scoped: false, 415 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { 416 …var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescrip… 418 …else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c… 426 scoped: false, [all …]
|
| /third_party/node/deps/npm/docs/public/using-npm/scope/ |
| D | index.html | 1 …var i=(window.location.pathname.match(/^(\/(?:ipfs|ipns)\/[^/]+)/)||[])[1]||"";window.__GATSBY_IPF… 2 /* sc-component-id: links__NavLink-sc-19vgq0o-1 */ 3 …-weight:500;-webkit-text-decoration:none;text-decoration:none;-webkit-letter-spacing:.3px;-moz-let… 4 /* sc-component-id: links__BasicNavLink-sc-19vgq0o-2 */ 5 …-weight:500;-webkit-text-decoration:none;text-decoration:none;-webkit-letter-spacing:.3px;-moz-let… 6 /* sc-component-id: links__SidebarLink-sc-19vgq0o-3 */ 7 …-weight:500;-webkit-text-decoration:none;text-decoration:none;-webkit-letter-spacing:.3px;-moz-let… 8 /* sc-component-id: Accordion__SectionButton-i8yhwx-0 */ 9 …-color:transparent;cursor:pointer;color:red;border:none;font-size:18px;font-weight:bold;padding:5p… 10 /* sc-component-id: DocLinks__LinkDesc-sc-1vrw6od-0 */ [all …]
|
| /third_party/skia/third_party/externals/tint/src/transform/ |
| D | simplify_pointers.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 /// PointerOp describes either possible indirection or address-of action on an 40 /// Negative: Number of times the `expr` was 'addressed-of' (&expr) 58 /// Traverses the expression `expr` looking for non-literal array indexing 60 /// expression. The function-like argument `cb` is called for each found. 62 /// @param cb a function-like object with the signature 67 if (auto* a = expr->As<ast::IndexAccessorExpression>()) { in CollectSavedArrayIndices() 68 CollectSavedArrayIndices(a->object, cb); in CollectSavedArrayIndices() 69 if (!a->index->Is<ast::LiteralExpression>()) { in CollectSavedArrayIndices() 70 cb(a->index); in CollectSavedArrayIndices() [all …]
|
| /third_party/typescript/src/harness/ |
| D | harnessGlobals.ts | 1 // Block scoped definitions work poorly for global variables, temporarily enable var 2 /* eslint-disable no-var */ 5 declare var assert: typeof _chai.assert; 6 declare var expect: typeof _chai.expect; 7 var _chai: typeof import("chai") = require("chai"); 10 // chai's builtin `assert.isFalse` is featureful but slow - we don't use those features, 33 /* eslint-enable no-var */
|
| /third_party/spirv-tools/tools/sva/ |
| D | .eslintrc.json | 14 "block-scoped-var": "error", string 15 "consistent-return": "error", 18 "linebreak-style": [ "error", "unix" ], 19 "no-eval": "error", 20 "no-shadow": "error", 21 "no-shadow-restricted-names": "error",
|
| /third_party/skia/third_party/externals/spirv-tools/tools/sva/ |
| D | .eslintrc.json | 14 "block-scoped-var": "error", string 15 "consistent-return": "error", 18 "linebreak-style": [ "error", "unix" ], 19 "no-eval": "error", 20 "no-shadow": "error", 21 "no-shadow-restricted-names": "error",
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/ |
| D | .eslintrc.json | 14 "block-scoped-var": "error", string 15 "consistent-return": "error", 18 "linebreak-style": [ "error", "unix" ], 19 "no-eval": "error", 20 "no-shadow": "error", 21 "no-shadow-restricted-names": "error",
|
| /third_party/typescript/tests/cases/compiler/ |
| D | jsFileCompilationBindErrors.ts | 8 let C = 0; // Error: Cannot redeclare block-scoped variable 'C'. 17 var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
|
| /third_party/node/deps/npm/node_modules/fast-json-stable-stringify/ |
| D | .eslintrc.yml | 6 block-scoped-var: 2 7 callback-return: 2 8 dot-notation: 2 10 linebreak-style: [2, unix] 11 new-cap: 2 12 no-console: [2, allow: [warn, error]] 13 no-else-return: 2 14 no-eq-null: 2 15 no-fallthrough: 2 16 no-invalid-this: 2 [all …]
|
| /third_party/node/deps/npm/node_modules/har-validator/node_modules/json-schema-traverse/ |
| D | .eslintrc.yml | 6 block-scoped-var: 2 8 curly: [2, multi-or-nest, consistent] 9 dot-location: [2, property] 10 dot-notation: 2 12 linebreak-style: [2, unix] 13 new-cap: 2 14 no-console: [2, allow: [warn, error]] 15 no-else-return: 2 16 no-eq-null: 2 17 no-fallthrough: 2 [all …]
|
| /third_party/typescript/tests/cases/conformance/expressions/typeGuards/ |
| D | typeGuardsInFunctionAndModuleBlock.ts | 1 // typeguards are scoped in function/module block 7 var b = x; // number | boolean 17 var b = x; // new scope - number | boolean 27 var b = x; // new scope - number | boolean 37 var b = x; // new scope - number | boolean 46 var y = x; // string; 48 var z = x; // string 53 var x: number | string | boolean; 55 var b = x; // new scope - number | boolean | string 56 var y: string; [all …]
|