Home
last modified time | relevance | path

Searched full:arguments (Results 1 – 25 of 8151) sorted by relevance

12345678910>>...327

/third_party/typescript/tests/baselines/reference/
DcollisionArgumentsClassMethod.types5 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 …]
DcollisionArgumentsFunction.types3 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 …]
DcollisionArgumentsClassConstructor.types6 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 …]
DcollisionArgumentsFunctionExpressions.types5 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 …]
DcollisionArgumentsClassConstructor.symbols6 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 …]
DcollisionArgumentsClassConstructor.js4 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 …]
DcollisionArgumentsFunction.js3 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 …]
DcollisionArgumentsClassMethod.js3 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 …]
DcollisionArgumentsFunctionExpressions.js3 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 …]
DcollisionArgumentsClassMethod.symbols5 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 …]
DcollisionArgumentsFunction.symbols3 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 …]
DcollisionArgumentsFunction.errors.txt1 …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 …]
DcollisionArgumentsFunctionExpressions.errors.txt1 …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 …]
DcollisionArgumentsFunctionExpressions.symbols5 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 …]
DargumentsReferenceInObjectLiteral_Js.types3 >a : () => { arguments: any[]; }
4 >() => { return { arguments: [], };} : () => { arguments: any[]; }
7 >{ arguments: [], } : { arguments: undefined[]; }
9 arguments: [],
10 >arguments : undefined[]
17 >b : () => { arguments: any[]; }
18 >() => { const c = { arguments: [], } return c;} : () => { arguments: any[]; }
21 >c : { arguments: any[]; }
22 >{ arguments: [], } : { arguments: undefined[]; }
24 arguments: [],
[all …]
DcollisionArgumentsArrowFunctions.types2 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 …]
DcollisionArgumentsInType.types2 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
13arguments: 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 …]
Darguments.errors.txt1 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 …]
DcollisionArgumentsClassConstructor.errors.txt1 …Constructor.ts(3,28): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to…
2 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
3 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
4 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
5 …Constructor.ts(8,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to…
6 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
7 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
8 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
9 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
10 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
[all …]
Darguments.types1 === 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 …]
DcollisionArgumentsClassMethod.errors.txt1 …ClassMethod.ts(2,27): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to…
2 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
3 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
4 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
5 …ClassMethod.ts(5,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to…
6 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
7 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
8 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
9 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
10 …evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more infor…
[all …]
/third_party/typescript/tests/cases/compiler/
DcollisionArgumentsClassConstructor.ts3 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 …]
DcollisionArgumentsClassMethod.ts2 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 …]
DcollisionArgumentsFunction.ts2 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/
DSkSLFunctionCall.cpp33 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 …]

12345678910>>...327