| /third_party/typescript/tests/baselines/reference/ |
| D | collisionArgumentsClassMethod.types | 5 public foo(i: number, ...arguments) { //arguments is error 6 >foo : (i: number, ...arguments: any[]) => void 8 >arguments : any[] 10 var arguments: any[]; // no error 11 >arguments : any[] 13 public foo1(arguments: number, ...rest) { //arguments is error 14 >foo1 : (arguments: number, ...rest: any[]) => void 15 >arguments : number 18 var arguments = 10; // no error 19 >arguments : number [all …]
|
| D | collisionArgumentsFunction.types | 3 function f1(arguments: number, ...restParameters) { //arguments is error 4 >f1 : (arguments: number, ...restParameters: any[]) => void 5 >arguments : number 8 var arguments = 10; // no error 9 >arguments : number 12 function f12(i: number, ...arguments) { //arguments is error 13 >f12 : (i: number, ...arguments: any[]) => void 15 >arguments : any[] 17 var arguments: any[]; // no error 18 >arguments : any[] [all …]
|
| D | collisionArgumentsClassConstructor.types | 6 constructor(i: number, ...arguments) { // error 8 >arguments : any[] 10 var arguments: any[]; // no error 11 >arguments : any[] 17 constructor(arguments: number, ...rest) { // error 18 >arguments : number 21 var arguments = 10; // no error 22 >arguments : number 29 constructor(arguments: number) { // no error 30 >arguments : number [all …]
|
| D | collisionArgumentsFunctionExpressions.types | 5 function f1(arguments: number, ...restParameters) { //arguments is error 6 >f1 : (arguments: number, ...restParameters: any[]) => void 7 >arguments : number 10 var arguments = 10; // no error 11 >arguments : number 14 function f12(i: number, ...arguments) { //arguments is error 15 >f12 : (i: number, ...arguments: any[]) => void 17 >arguments : any[] 19 var arguments: any[]; // no error 20 >arguments : any[] [all …]
|
| D | collisionArgumentsClassConstructor.symbols | 6 constructor(i: number, ...arguments) { // error 8 >arguments : Symbol(arguments, Decl(collisionArgumentsClassConstructor.ts, 2, 26), Decl(collisionAr… 10 var arguments: any[]; // no error 11 >arguments : Symbol(arguments, Decl(collisionArgumentsClassConstructor.ts, 2, 26), Decl(collisionAr… 17 constructor(arguments: number, ...rest) { // error 18 >arguments : Symbol(arguments, Decl(collisionArgumentsClassConstructor.ts, 7, 16), Decl(collisionAr… 21 var arguments = 10; // no error 22 >arguments : Symbol(arguments, Decl(collisionArgumentsClassConstructor.ts, 7, 16), Decl(collisionAr… 28 constructor(arguments: number) { // no error 29 >arguments : Symbol(arguments, Decl(collisionArgumentsClassConstructor.ts, 12, 16), Decl(collisionA… [all …]
|
| D | collisionArgumentsClassConstructor.js | 4 constructor(i: number, ...arguments) { // error argument 5 var arguments: any[]; // no error 9 constructor(arguments: number, ...rest) { // error 10 var arguments = 10; // no error 14 constructor(arguments: number) { // no error 15 var arguments = 10; // no error 21 var arguments = 10; // no error 26 var arguments = 10; // no error 31 constructor(public arguments: number, ...restParameters) { //arguments is error 32 var arguments = 10; // no error [all …]
|
| D | collisionArgumentsFunction.js | 3 function f1(arguments: number, ...restParameters) { //arguments is error 4 var arguments = 10; // no error 6 function f12(i: number, ...arguments) { //arguments is error argument 7 var arguments: any[]; // no error 9 function f1NoError(arguments: number) { // no error 10 var arguments = 10; // no error 13 declare function f2(i: number, ...arguments); // no error - no code gen 14 declare function f21(arguments: number, ...rest); // no error - no code gen 15 declare function f2NoError(arguments: number); // no error 18 var arguments = 10; // no error [all …]
|
| D | collisionArgumentsClassConstructor.errors.txt | 1 …Constructor.ts(3,28): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 2 …lisionArgumentsClassConstructor.ts(3,31): error TS1210: Invalid use of 'arguments'. Class definiti… 3 …lisionArgumentsClassConstructor.ts(4,13): error TS1210: Invalid use of 'arguments'. Class definiti… 4 …lisionArgumentsClassConstructor.ts(8,17): error TS1210: Invalid use of 'arguments'. Class definiti… 5 …Constructor.ts(8,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 6 …lisionArgumentsClassConstructor.ts(9,13): error TS1210: Invalid use of 'arguments'. Class definiti… 7 …isionArgumentsClassConstructor.ts(13,17): error TS1210: Invalid use of 'arguments'. Class definiti… 8 …isionArgumentsClassConstructor.ts(14,13): error TS1210: Invalid use of 'arguments'. Class definiti… 9 …isionArgumentsClassConstructor.ts(20,13): error TS1210: Invalid use of 'arguments'. Class definiti… 10 …isionArgumentsClassConstructor.ts(25,13): error TS1210: Invalid use of 'arguments'. Class definiti… [all …]
|
| D | collisionArgumentsClassMethod.js | 3 public foo(i: number, ...arguments) { //arguments is error argument 4 var arguments: any[]; // no error 6 public foo1(arguments: number, ...rest) { //arguments is error 7 var arguments = 10; // no error 9 public fooNoError(arguments: number) { // no error 10 var arguments = 10; // no error 12 public f4(i: number, ...arguments); // no codegen no error 13 public f4(i: string, ...arguments); // no codegen no error 14 public f4(i: any, ...arguments) { // error argument 15 var arguments: any[]; // no error [all …]
|
| D | collisionArgumentsFunctionExpressions.js | 3 function f1(arguments: number, ...restParameters) { //arguments is error 4 var arguments = 10; // no error 6 function f12(i: number, ...arguments) { //arguments is error argument 7 var arguments: any[]; // no error 9 function f1NoError(arguments: number) { // no error 10 var arguments = 10; // no error 14 var arguments = 10; // no error 17 var arguments = 10; // no error 20 function f4(arguments: number, ...rest); // no codegen no error 21 function f4(arguments: string, ...rest); // no codegen no error [all …]
|
| D | collisionArgumentsClassMethod.errors.txt | 1 …ClassMethod.ts(2,27): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 2 …r/collisionArgumentsClassMethod.ts(2,30): error TS1210: Invalid use of 'arguments'. Class definiti… 3 …r/collisionArgumentsClassMethod.ts(3,13): error TS1210: Invalid use of 'arguments'. Class definiti… 4 …r/collisionArgumentsClassMethod.ts(5,17): error TS1210: Invalid use of 'arguments'. Class definiti… 5 …ClassMethod.ts(5,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 6 …r/collisionArgumentsClassMethod.ts(6,13): error TS1210: Invalid use of 'arguments'. Class definiti… 7 …r/collisionArgumentsClassMethod.ts(8,23): error TS1210: Invalid use of 'arguments'. Class definiti… 8 …r/collisionArgumentsClassMethod.ts(9,13): error TS1210: Invalid use of 'arguments'. Class definiti… 9 …/collisionArgumentsClassMethod.ts(11,29): error TS1210: Invalid use of 'arguments'. Class definiti… 10 …/collisionArgumentsClassMethod.ts(12,29): error TS1210: Invalid use of 'arguments'. Class definiti… [all …]
|
| D | collisionArgumentsFunction.symbols | 3 function f1(arguments: number, ...restParameters) { //arguments is error 5 >arguments : Symbol(arguments, Decl(collisionArgumentsFunction.ts, 1, 12), Decl(collisionArgumentsF… 8 var arguments = 10; // no error 9 >arguments : Symbol(arguments, Decl(collisionArgumentsFunction.ts, 1, 12), Decl(collisionArgumentsF… 11 function f12(i: number, ...arguments) { //arguments is error 14 >arguments : Symbol(arguments, Decl(collisionArgumentsFunction.ts, 4, 23), Decl(collisionArgumentsF… 16 var arguments: any[]; // no error 17 >arguments : Symbol(arguments, Decl(collisionArgumentsFunction.ts, 4, 23), Decl(collisionArgumentsF… 19 function f1NoError(arguments: number) { // no error 21 >arguments : Symbol(arguments, Decl(collisionArgumentsFunction.ts, 7, 19), Decl(collisionArgumentsF… [all …]
|
| D | collisionArgumentsClassMethod.symbols | 5 public foo(i: number, ...arguments) { //arguments is error 8 >arguments : Symbol(arguments, Decl(collisionArgumentsClassMethod.ts, 1, 25), Decl(collisionArgumen… 10 var arguments: any[]; // no error 11 >arguments : Symbol(arguments, Decl(collisionArgumentsClassMethod.ts, 1, 25), Decl(collisionArgumen… 13 public foo1(arguments: number, ...rest) { //arguments is error 15 >arguments : Symbol(arguments, Decl(collisionArgumentsClassMethod.ts, 4, 16), Decl(collisionArgumen… 18 var arguments = 10; // no error 19 >arguments : Symbol(arguments, Decl(collisionArgumentsClassMethod.ts, 4, 16), Decl(collisionArgumen… 21 public fooNoError(arguments: number) { // no error 23 >arguments : Symbol(arguments, Decl(collisionArgumentsClassMethod.ts, 7, 22), Decl(collisionArgumen… [all …]
|
| D | collisionArgumentsFunction.errors.txt | 1 …ntsFunction.ts(2,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 2 …ntsFunction.ts(5,25): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 3 …tsFunction.ts(25,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 4 …tsFunction.ts(30,22): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 9 function f1(arguments: number, ...restParameters) { //arguments is error 11 !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest pa… 12 var arguments = 10; // no error 14 function f12(i: number, ...arguments) { //arguments is error 16 !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest pa… 17 var arguments: any[]; // no error [all …]
|
| D | collisionArgumentsFunctionExpressions.errors.txt | 1 …Expressions.ts(2,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 2 …Expressions.ts(5,29): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 3 …xpressions.ts(21,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 4 …xpressions.ts(26,26): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to… 9 function f1(arguments: number, ...restParameters) { //arguments is error 11 !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest pa… 12 var arguments = 10; // no error 14 function f12(i: number, ...arguments) { //arguments is error 16 !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest pa… 17 var arguments: any[]; // no error [all …]
|
| D | collisionArgumentsFunctionExpressions.symbols | 5 function f1(arguments: number, ...restParameters) { //arguments is error 7 >arguments : Symbol(arguments, Decl(collisionArgumentsFunctionExpressions.ts, 1, 16), Decl(collisio… 10 var arguments = 10; // no error 11 >arguments : Symbol(arguments, Decl(collisionArgumentsFunctionExpressions.ts, 1, 16), Decl(collisio… 13 function f12(i: number, ...arguments) { //arguments is error 16 >arguments : Symbol(arguments, Decl(collisionArgumentsFunctionExpressions.ts, 4, 27), Decl(collisio… 18 var arguments: any[]; // no error 19 >arguments : Symbol(arguments, Decl(collisionArgumentsFunctionExpressions.ts, 4, 27), Decl(collisio… 21 function f1NoError(arguments: number) { // no error 23 >arguments : Symbol(arguments, Decl(collisionArgumentsFunctionExpressions.ts, 7, 23), Decl(collisio… [all …]
|
| D | collisionArgumentsArrowFunctions.types | 2 var f1 = (i: number, ...arguments) => { //arguments is error 3 >f1 : (i: number, ...arguments: any[]) => void 4 >(i: number, ...arguments) => { //arguments is error var arguments: any[]; // no error} : (i: nu… 6 >arguments : any[] 8 var arguments: any[]; // no error 9 >arguments : any[] 11 var f12 = (arguments: number, ...rest) => { //arguments is error 12 >f12 : (arguments: number, ...rest: any[]) => void 13 >(arguments: number, ...rest) => { //arguments is error var arguments = 10; // no error} : (argu… 14 >arguments : number [all …]
|
| D | collisionArgumentsInType.types | 2 var v1: (i: number, ...arguments) => void; // no error - no code gen 3 >v1 : (i: number, ...arguments: any[]) => void 5 >arguments : any[] 7 var v12: (arguments: number, ...restParameters) => void; // no error - no code gen 8 >v12 : (arguments: number, ...restParameters: any[]) => void 9 >arguments : number 13 …arguments: number, ...restParameters: any[]): any; new (arguments: number, ...restParameters: any[… 15 (arguments: number, ...restParameters); // no error - no code gen 16 >arguments : number 19 new (arguments: number, ...restParameters); // no error - no code gen [all …]
|
| D | arguments.errors.txt | 1 tests/cases/compiler/arguments.ts(6,8): error TS2304: Cannot find name 'arguments'. 2 tests/cases/compiler/arguments.ts(9,25): error TS2304: Cannot find name 'arguments'. 3 tests/cases/compiler/arguments.ts(10,23): error TS2304: Cannot find name 'arguments'. 4 tests/cases/compiler/arguments.ts(11,19): error TS2304: Cannot find name 'arguments'. 5 tests/cases/compiler/arguments.ts(12,23): error TS2304: Cannot find name 'arguments'. 6 tests/cases/compiler/arguments.ts(13,34): error TS2304: Cannot find name 'arguments'. 9 ==== tests/cases/compiler/arguments.ts (6 errors) ==== 11 var x=arguments[12]; 12 (() => arguments)(); 15 (() => arguments)(); [all …]
|
| D | arguments.types | 1 === tests/cases/compiler/arguments.ts === 5 var x=arguments[12]; 7 >arguments[12] : any 8 >arguments : IArguments 11 (() => arguments)(); 12 >(() => arguments)() : IArguments 13 >(() => arguments) : () => IArguments 14 >() => arguments : () => IArguments 15 >arguments : IArguments 18 (() => arguments)(); [all …]
|
| D | collisionArgumentsArrowFunctions.js | 2 var f1 = (i: number, ...arguments) => { //arguments is error argument 3 var arguments: any[]; // no error variable 5 var f12 = (arguments: number, ...rest) => { //arguments is error 6 var arguments = 10; // no error 8 var f1NoError = (arguments: number) => { // no error 9 var arguments = 10; // no error 13 var arguments = 10; // No Error 16 var arguments = 10; // no error 21 var arguments = []; 22 for (var _i = 1; _i < arguments.length; _i++) { [all …]
|
| /third_party/typescript/tests/cases/compiler/ |
| D | collisionArgumentsClassConstructor.ts | 3 constructor(i: number, ...arguments) { // error 4 var arguments: any[]; // no error 8 constructor(arguments: number, ...rest) { // error 9 var arguments = 10; // no error 13 constructor(arguments: number) { // no error 14 var arguments = 10; // no error 20 var arguments = 10; // no error 25 var arguments = 10; // no error 30 constructor(public arguments: number, ...restParameters) { //arguments is error property in c3 31 var arguments = 10; // no error [all …]
|
| D | collisionArgumentsClassMethod.ts | 2 public foo(i: number, ...arguments) { //arguments is error 3 var arguments: any[]; // no error 5 public foo1(arguments: number, ...rest) { //arguments is error 6 var arguments = 10; // no error 8 public fooNoError(arguments: number) { // no error 9 var arguments = 10; // no error 11 public f4(i: number, ...arguments); // no codegen no error 12 public f4(i: string, ...arguments); // no codegen no error 13 public f4(i: any, ...arguments) { // error 14 var arguments: any[]; // no error [all …]
|
| D | collisionArgumentsFunction.ts | 2 function f1(arguments: number, ...restParameters) { //arguments is error 3 var arguments = 10; // no error 5 function f12(i: number, ...arguments) { //arguments is error 6 var arguments: any[]; // no error 8 function f1NoError(arguments: number) { // no error 9 var arguments = 10; // no error 12 declare function f2(i: number, ...arguments); // no error - no code gen 13 declare function f21(arguments: number, ...rest); // no error - no code gen 14 declare function f2NoError(arguments: number); // no error 17 var arguments = 10; // no error [all …]
|
| /third_party/skia/src/sksl/ir/ |
| D | SkSLFunctionCall.cpp | 33 static bool has_compile_time_constant_arguments(const ExpressionArray& arguments) { in has_compile_time_constant_arguments() argument 34 for (const std::unique_ptr<Expression>& arg : arguments) { in has_compile_time_constant_arguments() 83 // Takes up to two vector or scalar arguments and coalesces them in sequence: in coalesce_n_way_vector() 91 // If an argument is null, zero is passed to the coalesce function. If the arguments are a mix in coalesce_n_way_vector() 134 static std::unique_ptr<Expression> coalesce_vector(const IntrinsicArguments& arguments, in coalesce_vector() argument 139 SkASSERT(arguments[0]); in coalesce_vector() 140 SkASSERT(!arguments[1]); in coalesce_vector() 141 type_check_expression<T>(*arguments[0]); in coalesce_vector() 143 return coalesce_n_way_vector(arguments[0], /*arg1=*/nullptr, in coalesce_vector() 148 static std::unique_ptr<Expression> coalesce_pairwise_vectors(const IntrinsicArguments& arguments, in coalesce_pairwise_vectors() argument [all …]
|