| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | function_spread_arg.ets | 32 function foo2(n:number, ...rest: number[]) { 55 foo2(1, ...a1) 56 foo2(1, ...a2) 57 foo2(1, ...a3) 58 foo2(1, ...a4) 59 foo2(1, ...a5) 60 foo2(1, ...a6) 61 foo2(1, ...a7) 62 foo2(1, ...a8) 63 foo2(1, ...a9) [all …]
|
| D | imported_use_as_object.ets | 23 function foo2(o: Object) { } 26 foo2(OuterC); 30 foo2(OuterN); 34 foo2(OuterE); 38 foo2(InnerC); 42 foo2(InnerN); 46 foo2(InnerE);
|
| D | property_decl_on_function.ets | 36 const foo2 = (path: string) => { 40 foo2.bar = 2; 41 console.log(foo2.bar); 42 console.log(foo2.name); 43 console.log(foo2.length); 44 console.log(foo2.arguments); 45 console.log(foo2.caller);
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/getsetaccessor/propertyConfig/ |
| D | object_literal_get.ts | 17 get foo2() { variable 19 get foo2() { 27 get foo2() { method in X2 29 get foo2() { 37 get foo2(): { method 38 get foo2(): { 39 get foo2(): {}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/09.methods_returning_this/ |
| D | methods_returning_this_03.ets | 27 foo2(): this { 35 …x=x.foo().foo2().foo().foo2().foo().foo2().foo().foo2().foo().foo2().foo2().foo2().foo().foo().foo…
|
| D | methods_returning_this_10.ets | 24 foo2(a:int, b:object): this { 31 x=x.foo().foo2(1, new object).foo().foo2(2, new object).foo().foo2(3, new object)
|
| /arkcompiler/ets_runtime/test/aottest/pgo_call_recursive_js/ |
| D | expect_output.txt | 16 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 18 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 19 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 20 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 22 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 23 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 25 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 26 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca…
|
| D | pgo_call_recursive_js.js | 22 foo2(a); 28 foo2(a); 31 function foo2(a) { function
|
| /arkcompiler/ets_runtime/test/quickfix/multi_funccallconstpool/ |
| D | base_modify.js | 19 foo2() 22 function foo2() { function 24 print("patch foo2" ) 28 globalThis.foo2 = foo2
|
| D | base.js | 19 foo2() 22 function foo2() { function 24 print("base foo2" ) 28 globalThis.foo2 = foo2
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | keyof_union.ets | 19 private foo2(){} 29 let x1:keyofUnion = /* @@ label1 */"foo2"; 32 /* @@ label3 */getProperty<keyofA>(/* @@ label4 */"foo2") 36 /* @@@ label1 Error TypeError: Type '"foo2"' cannot be assigned to type 'Double|A|"foo"|"field1"' … 38 /* @@@ label3 Error TypeError: No matching call signature for getProperty("foo2") */ 39 /* @@@ label4 Error TypeError: Type '"foo2"' is not compatible with type '"foo"|"field1"' at index …
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolfunc/ |
| D | multiconstpoolfunc.js | 21 function foo2() { function 23 return "foo2" 27 assert_equal(foo2(), "foo2");
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolobj/ |
| D | multiconstpoolobj.js | 21 "foo2": function() { method 23 return "foo2" 28 assert_equal(obj.foo2(), "foo2");
|
| /arkcompiler/ets_runtime/test/jittest/intrinsic_test2/ |
| D | intrinsic_test2.ts | 35 function foo2(obj, key, value) { function 40 foo2(b, 2, 5); 42 ArkTools.jitCompileAsync(foo2); 43 print(ArkTools.waitJitCompileFinish(foo2)); 44 print(foo2(b, 2, 5));
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | Override-4.ets | 22 foo2(x: Y): Object { return "A.foo(Y)" } 32 override foo2(x: Y): String { return "C.foo2(Y)" } 38 assertEQ(new C().foo2(new Y()), "C.foo2(Y)")
|
| D | implementsClassPropertyFunctionType2.ets | 18 foo2: () => int 23 foo2 = (): int => { 31 let x2 = b.foo2 34 assertEQ(b.foo2(), 2)
|
| D | type_param_infer_in_union_1.ets | 20 function foo2<U>(array:Iterable<U|A<U>>){ 21 return "foo2 should be ok too" 27 assertEQ(foo2(a), "foo2 should be ok too")
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolclass/ |
| D | multiconstpoolclass.js | 24 foo2() { method in A 26 return "foo2" 32 assert_equal(a.foo2(), "foo2");
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/namespace_tests/ |
| D | namespace_merge_test.ets | 22 export function foo2():string {return "foo2"} 35 assertEQ(A.foo2(), "foo2")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.type_arguments/type_arguments_of_parameterized_declarations/ |
| D | func_args3_neg.params.yaml | 21 - use: let v = foo2 <in> (new X()) 22 - use: let v = foo2 <in X> (new X()) 23 - use: let v = foo2 <out> (new X()) 24 - use: let v = foo2 <out X> (new X())
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | method_override_throw_1.ets | 18 foo2(param: () => void throws): void rethrows; 24 override foo2(param: () => void throws): void rethrows {} 30 foo2(param: () => void throws): void rethrows {} 36 override foo2(param: () => void throws): void rethrows {}
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | absent_return_statement.ets | 21 function foo2(bar: () => int|string) { 34 foo2(() => { return /* @@ label3 */new C(); }); 35 foo2(() => /* @@ label4 */{ console.println("TEST"); }); 36 foo2(() => /* @@ label5 */new C()); 37 foo2(() => /* @@ label6 */console.println("TEST"));
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolarray/ |
| D | multiconstpoolarray.js | 21 function foo2() { 23 return "foo2" 28 assert_equal(arr[1](), "foo2")
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/trailing_lambda_tests/ |
| D | trailing_lambda_with_throw.ets | 19 function foo2(c: ()=>void) { 29 foo2() { 33 foo2() {}
|
| /arkcompiler/ets_runtime/test/aottest/aot_multi_constantpool_test/multi_constantpool_class/ |
| D | multi_constantpool_class.ts | 26 foo2() { 28 print("base foo2"); 34 a.foo2();
|