| /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/bindings/src/ |
| D | Es2pandaNativeModule.ts | 4 * you may not use this file except in compliance with the License. 26 throw new Error('Not implemented'); 38 throw new Error('Not implemented'); 42 throw new Error('Not implemented'); 45 throw new Error('Not implemented'); 49 throw new Error('Not implemented'); 53 throw new Error('Not implemented'); 56 throw new Error('Not implemented'); 60 throw new Error('Not implemented'); 63 throw new Error('Not implemented'); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | functions.ets.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 | null_check_calls.ets.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 | literals_as_prop_names.ets.migrate.json | 5 "you may not use this file except in compliance with the License.", 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": "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… 114 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 124 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 134 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 144 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… [all …]
|
| D | numeric_semantics2.ets.migrate.ets | 4 * you may not use this file except in compliance with the License. 17 const a: number = 11.0 // NOT OK 18 const b: number = 12.0 // NOT OK 19 // NOT OK 20 const c: number = 13.0 // NOT OK 21 // NOT OK 23 const e: number = 15.0 // NOT OK 24 console.log('' + 1.0/2.0) // NOT OK 79 const a1 = `${1.0/2.0}` // NOT OK 81 const b1 = `20${20.0 | 21.0 | 22.0 | 23.0}` // NOT OK [all …]
|
| D | sendable_class_interface_property.ets.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 | literals_as_prop_names.ets.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 | private_identifiers.ets.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 | structural_identity.ets.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": "Array bound not checked. (arkts-runtime-array-check)", 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 | numeric_semantics2.ets | 4 * you may not use this file except in compliance with the License. 17 const a: number = 11 // NOT OK 18 const b = 12 // NOT OK 19 const c = 13.0 // NOT OK 21 const e: number = 15 // NOT OK 22 console.log('' + 1/2) // NOT OK 77 const a1 = `${1/2}` // NOT OK 79 const b1 = `20${20 | 21 | 22 | 23}` // NOT OK 81 const c1 = `20 + ${20}` // NOT OK 86 let e = 15 // NOT OK [all …]
|
| D | sendable_no_structural_typing.ets.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.ets | 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 …]
|
| /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/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/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | quoted_hyphen_props_deprecated_sdk2.ets.arkts2.json | 5 "you may not use this file except in compliance with the License.", 24 "rule": "Array bound not checked. (arkts-runtime-array-check)", 34 "rule": "Array bound not checked. (arkts-runtime-array-check)", 44 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 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 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 84 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 94 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 104 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… [all …]
|
| D | quoted_hyphen_props_deprecated_sdk.ets.arkts2.json | 5 "you may not use this file except in compliance with the License.", 24 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 44 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 64 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 84 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… 94 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 104 …ames must be valid identifiers.Single-quoted and hyphenated properties are not supported. (sdk-no-… [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/offColumn/js/ |
| D | off-column-callthis-expected.txt | 1 1 is not callable 4 call is not callable 7 1 is not callable 10 1 is not callable 13 call is not callable 16 1 is not callable 19 1 is not callable 22 call is not callable 25 1 is not callable 28 1 is not callable [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/enableColumn/js/ |
| D | enable-column-callthis-expected.txt | 1 1 is not callable 4 1 is not callable 7 1 is not callable 10 1 is not callable 13 1 is not callable 16 1 is not callable 19 1 is not callable 22 1 is not callable 25 1 is not callable 28 1 is not callable [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ |
| D | CookBookMsg.ts | 4 * you may not use this file except in compliance with the License. 20 …'Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop… 21 cookBookTag[2] = '"Symbol()" API is not supported (arkts-no-symbol)'; 22 cookBookTag[3] = 'Private "#" identifiers are not supported (arkts-no-private-identifiers)'; 36 cookBookTag[17] = 'Indexed signatures are not supported (arkts-no-indexed-signatures)'; 40 cookBookTag[21] = 'Type notation using "this" is not supported (arkts-no-typing-with-this)'; 41 cookBookTag[22] = 'Conditional types are not supported (arkts-no-conditional-types)'; 44 cookBookTag[25] = 'Declaring fields in "constructor" is not supported (arkts-no-ctor-prop-decls)'; 46 cookBookTag[27] = 'Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-i… 47 cookBookTag[28] = 'Indexed access types are not supported (arkts-no-aliases-by-index)'; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule145.ets.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.ets | 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.ets | 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/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type01.ets | 4 * you may not use this file except in compliance with the License. 34 /* @@@ label1 Error TypeError: The initial value does not match the expected value. */ 35 /* @@@ label Error TypeError: Initializer for field 'authorName' does not match the expected defini… 36 /* @@@ label3 Error TypeError: The initial value does not match the expected value. */ 37 /* @@@ label2 Error TypeError: Initializer for field 'authorAge' does not match the expected defini… 38 /* @@@ label5 Error TypeError: The initial value does not match the expected value. */ 39 /* @@@ label4 Error TypeError: Initializer for field 'testBool' does not match the expected definit… 40 /* @@@ label7 Error TypeError: The initial value does not match the expected value. */ 41 /* @@@ label6 Error TypeError: Initializer for field 'favorColor' does not match the expected defin… 42 /* @@@ label10 Error TypeError: The initial value does not match the expected value. */ [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/annotation_tests/ |
| D | ambient_annotations_bad_type01.ets | 4 * you may not use this file except in compliance with the License. 34 /* @@@ label1 Error TypeError: The initial value does not match the expected value. */ 35 /* @@@ label Error TypeError: Initializer for field 'authorName' does not match the expected defini… 36 /* @@@ label3 Error TypeError: The initial value does not match the expected value. */ 37 /* @@@ label2 Error TypeError: Initializer for field 'authorAge' does not match the expected defini… 38 /* @@@ label5 Error TypeError: The initial value does not match the expected value. */ 39 /* @@@ label4 Error TypeError: Initializer for field 'testBool' does not match the expected definit… 40 /* @@@ label7 Error TypeError: The initial value does not match the expected value. */ 41 /* @@@ label6 Error TypeError: Initializer for field 'favorColor' does not match the expected defin… 42 /* @@@ label10 Error TypeError: The initial value does not match the expected value. */ [all …]
|