| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | expect_output.txt | 3 # you may not use this file except in compliance with the License. 16 ReferenceError: Function is not defined 19 ReferenceError: RangeError is not defined 22 ReferenceError: Error is not defined 25 ReferenceError: Object is not defined 28 ReferenceError: SyntaxError is not defined 31 ReferenceError: TypeError is not defined 34 ReferenceError: ReferenceError is not defined 37 ReferenceError: URIError is not defined 40 ReferenceError: Symbol is not defined [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | functions.ts.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Nested functions are not supported (arkts-no-nested-funcs)", 54 "rule": "Generator functions are not supported (arkts-no-generators)", 64 "rule": "Generator functions are not supported (arkts-no-generators)", 104 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", 113 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.", 114 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.", 123 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 124 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 133 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", [all …]
|
| D | undefined_check_calls.ts.json | 5 "you may not use this file except in compliance with the License.", 23 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.", 24 … "rule": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.", 33 …"suggest": "Argument of type 'string | undefined' is not assignable to parameter of type 'Resource… 34 …"rule": "Argument of type 'string | undefined' is not assignable to parameter of type 'ResourceStr… 43 "suggest": "Type 'undefined' is not assignable to type 'Object'.", 44 "rule": "Type 'undefined' is not assignable to type 'Object'.", 53 "suggest": "Type 'undefined' is not assignable to type 'Object'.", 54 "rule": "Type 'undefined' is not assignable to type 'Object'.", 63 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.", [all …]
|
| D | null_check_calls.ts.json | 5 "you may not use this file except in compliance with the License.", 33 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number[]'.", 34 "rule": "Argument of type 'null' is not assignable to parameter of type 'number[]'.", 43 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number'.", 44 "rule": "Argument of type 'null' is not assignable to parameter of type 'number'.", 53 …est": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type '… 54 …ule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type '… 63 …est": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type '… 64 …ule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type '… 73 "suggest": "Type 'null' is not assignable to type 'Object'.", [all …]
|
| D | sendable_class_interface_property.ts.json | 5 "you may not use this file except in compliance with the License.", 414 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen… 544 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen… 554 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen… 563 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.… 564 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.", 573 …"suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.… 574 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.", 583 …"suggest": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.… 584 … "rule": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.", [all …]
|
| D | structural_identity.ts.arkts2.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 74 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | private_identifiers.ts.json | 5 "you may not use this file except in compliance with the License.", 84 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 94 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 104 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 114 … "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)", 124 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 134 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 144 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 154 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 164 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", [all …]
|
| D | literals_as_prop_names.ts.json | 5 "you may not use this file except in compliance with the License.", 24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 84 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 124 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… [all …]
|
| D | structural_identity.ts.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 74 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | sendable_no_structural_typing.ts.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 124 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 134 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | destructuring_declarations.sts | 4 * you may not use this file except in compliance with the License. 17 let { a, b, c } = { a: 100, b: 200, c: 'bar' }; // NOT OK 18 let { a2, ...rest2 } = { a2: 1, b2: 2 }; // NOT OK 19 let { a3, b3: { c3, d3: e3 } } = { a3: 1, b3: { c3: 3, d3: 'baz' }}; // NOT OK 20 let { a4, b4: { ...rest4 } } = { a4: 1, b4: { c4: 3, d4: 'bah' }}; // NOT OK 22 let { a, b, c } = {}; // NOT OK, not fixable 27 let { a5, b5 } = getObject(); // NOT OK 31 const [a7, b7, ...rest7] = [10, 20, 30, 40, 50]; // NOT OK 33 const [a9, b9, [c9, ...rest9]] = [10, 20, [30, 40, 50]]; // NOT OK 40 let [a11, ...rest11] = tuple; // NOT OK [all …]
|
| D | destructuring_assignments.sts | 4 * you may not use this file except in compliance with the License. 19 ({ a, b, s } = { a: 100, b: 200, s: 'bar' }); // NOT OK 20 ({ a, b, s } = {}); // NOT OK, not fixable 21 ({ a, ...rest } = { a: 1, b: 2 }); // NOT OK 22 ({ a, b: { c, d: s } } = { a: 1, b: { c: 3, d: 'baz' }}); // NOT OK 23 ({ a, b: { ...rest } } = { a: 1, b: { c: 3, d: 'bah' }}); // NOT OK 28 ({ a, b } = getObject()); // NOT OK 35 [a, b, ...rest] = [10, 20, 30, 40, 50]; // NOT OK 37 [a, b, [c, ...rest]] = [10, 20, [30, 40, 50]]; // NOT OK 41 [a, ...rest] = tuple; // NOT OK [all …]
|
| D | interface_literal_prop_name.ts.json | 5 "you may not use this file except in compliance with the License.", 24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 44 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 64 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | literals_as_prop_names.ts.autofix.json | 5 "you may not use this file except in compliance with the License.", 41 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 68 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 85 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 112 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 139 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 171 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 181 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 191 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 235 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 3 # you may not use this file except in compliance with the License. 18 raise NotImplementedError, "#{self.class} does not implement prologue()." 22 raise NotImplementedError, "#{self.class} does not implement epilogue()." 26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()." 30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()." 34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()." 38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()." 42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()." 46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()." 50 raise NotImplementedError, "#{self.class} does not implement log_start_command()." [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 3 # you may not use this file except in compliance with the License. 18 raise NotImplementedError, "#{self.class} does not implement prologue()." 22 raise NotImplementedError, "#{self.class} does not implement epilogue()." 26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()." 30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()." 34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()." 38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()." 42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()." 46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()." 50 raise NotImplementedError, "#{self.class} does not implement log_start_command()." [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type01.sts | 4 * you may not use this file except in compliance with the License. 34 /* @@? 19:26 Error TypeError: The initial value does not match the expected value. */ 35 /* @@? 19:5 Error TypeError: Initializer for field 'authorName' does not match the expected definit… 36 /* @@? 20:25 Error TypeError: The initial value does not match the expected value. */ 37 /* @@? 20:5 Error TypeError: Initializer for field 'authorAge' does not match the expected definiti… 38 /* @@? 21:25 Error TypeError: The initial value does not match the expected value. */ 39 /* @@? 21:5 Error TypeError: Initializer for field 'testBool' does not match the expected definitio… 40 /* @@? 22:29 Error TypeError: The initial value does not match the expected value. */ 41 /* @@? 22:5 Error TypeError: Initializer for field 'favorColor' does not match the expected definit… 42 /* @@? 23:27 Error TypeError: The initial value does not match the expected value. */ [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule145.ts.json | 5 "you may not use this file except in compliance with the License.", 23 … "suggest": "Property 'n' has no initializer and is not definitely assigned in the constructor.", 24 … "rule": "Property 'n' has no initializer and is not definitely assigned in the constructor.", 33 … "suggest": "Property 's' has no initializer and is not definitely assigned in the constructor.", 34 … "rule": "Property 's' has no initializer and is not definitely assigned in the constructor.", 43 … "suggest": "Function lacks ending return statement and return type does not include 'undefined'.", 44 … "rule": "Function lacks ending return statement and return type does not include 'undefined'.", 53 "suggest": "Type 'null' is not assignable to type 'number'.", 54 "rule": "Type 'null' is not assignable to type 'number'.", 63 … "suggest": "Function lacks ending return statement and return type does not include 'undefined'.", [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/ |
| D | chop1.sts | 4 * you may not use this file except in compliance with the License. 48 test(boo("not undefined")?.fldB?.fldA === "abc") 49 test(boo("not undefined")?.fldB?.fldAn === undefined) 50 test(boo("not undefined")?.fldB?.metA("xyz") === "xyz") 51 test(boo("not undefined")?.fldB?.metA("undefined") === undefined) 53 test(boo("not undefined")?.metB("not undefined")?.fldA === "abc") 54 test(boo("not undefined")?.metB("not undefined")?.fldAn === undefined) 55 test(boo("not undefined")?.metB("not undefined")?.metA("xyz") === "xyz") 56 test(boo("not undefined")?.metB("not undefined")?.metA("undefined") === undefined) 58 test(boo("not undefined")?.fldBn?.fldA === undefined) [all …]
|
| D | chop0.sts | 4 * you may not use this file except in compliance with the License. 49 test(boo("not null")?.fldB?.fldA === "abc") 50 test(boo("not null")?.fldB?.fldAn === null) 51 test(boo("not null")?.fldB?.metA("xyz") === "xyz") 52 test(boo("not null")?.fldB?.metA("null") === null) 54 test(boo("not null")?.metB("not null")?.fldA === "abc") 55 test(boo("not null")?.metB("not null")?.fldAn === null) 56 test(boo("not null")?.metB("not null")?.metA("xyz") === "xyz") 57 test(boo("not null")?.metB("not null")?.metA("null") === null) 59 test(boo("not null")?.fldBn?.fldA === undefined) [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ |
| D | CookBookMsg.ts | 4 * you may not use this file except in compliance with the License. 24 …'Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop… 25 cookBookTag[2] = '"Symbol()" API is not supported (arkts-no-symbol)'; 26 cookBookTag[3] = 'Private "#" identifiers are not supported (arkts-no-private-identifiers)'; 40 cookBookTag[17] = 'Indexed signatures are not supported (arkts-no-indexed-signatures)'; 44 cookBookTag[21] = 'Type notation using "this" is not supported (arkts-no-typing-with-this)'; 45 cookBookTag[22] = 'Conditional types are not supported (arkts-no-conditional-types)'; 48 cookBookTag[25] = 'Declaring fields in "constructor" is not supported (arkts-no-ctor-prop-decls)'; 50 cookBookTag[27] = 'Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-i… 51 cookBookTag[28] = 'Indexed access types are not supported (arkts-no-aliases-by-index)'; [all …]
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/cmake/ |
| D | LLVMInlineModules.cmake | 3 # you may not use this file except in compliance with the License. 14 if (NOT PANDA_LLVM_IRTOC) 18 if (NOT DEFINED PANDA_LLVM_INTERPRETER_INLINING) 22 if (NOT PANDA_LLVM_INTERPRETER_INLINING) 27 AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang" 28 …# HostTools build, compiler does not matter. Parent project built bitcode files for inlining, and … 32 …message(STATUS "LLVM IR inlining disabled because compiler is not 'Clang' but = '${CMAKE_CXX_COMPI… 41 if (NOT "${IRTOC_INT_LLVM_INL_MODULE_FILES_LIST}" STREQUAL "") 49 elseif (NOT PANDA_LLVM_INTERPRETER_INLINING) 76 if (NOT PANDA_LLVM_INTERPRETER_INLINING) [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/regression/ |
| D | 14201.ets.json | 5 "you may not use this file except in compliance with the License.", 23 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 24 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 33 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'string'.", 34 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'string'.", 43 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 44 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 53 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'string'.", 54 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'string'.", 63 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/moduleHandleException/ |
| D | expect_output.txt | 3 # you may not use this file except in compliance with the License. 17 first, ReferenceError: b is not initialized 18 same file, ReferenceError: b is not initialized 19 child file, ReferenceError: b is not initialized 20 parent file, ReferenceError: b is not initialized 21 other file, ReferenceError: b is not initialized 23 b is not initialized 27 b is not initialized 30 multi level, ReferenceError: b is not initialized
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/ |
| D | indexable_collections_array.ets.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", [all …]
|