Searched full:catch (Results 1 – 25 of 1856) sorted by relevance
12345678910>>...75
| /arkcompiler/ets_frontend/test262/ |
| D | skip-test262-release-qemu-nightly.txt | 1 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 2 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 3 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 4 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 5 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 6 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 7 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 8 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 9 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… 10 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… [all …]
|
| D | skip-test262-qemu-allmode.txt | 1 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 2 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 3 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 4 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 5 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 6 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 7 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 8 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 9 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… 10 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… [all …]
|
| D | skip-test262-fastverify-qemu.txt | 1 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 2 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 3 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 4 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 5 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 6 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 7 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 8 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 9 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… 10 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… [all …]
|
| D | ignored-test262-release-qemu-aot-pgo-litecg.txt | 7 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 8 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-block-labeled-eval-rqstd-… 9 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-return-awa… 10 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-block-import-catch-eval-r… 11 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-r… 12 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-gen-await-eval-rqst… 13 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-while-import-catch-eval-r… 14 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 15 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-function-import-catch-eva… 16 test262/data/test_es2021/language/expressions/dynamic-import/catch/top-level-import-catch-eval-rqst… [all …]
|
| D | es2abc_skip_tests.json | 36 …"language/expressions/dynamic-import/catch/nested-async-gen-return-await-eval-script-code-target.j… 37 … "language/expressions/dynamic-import/catch/nested-async-gen-await-file-does-not-exist.js", 38 … "language/expressions/dynamic-import/catch/nested-async-gen-await-eval-script-code-target.js", 39 … "language/expressions/dynamic-import/catch/nested-async-gen-return-await-file-does-not-exist.js" 51 …n" : "Dynamic Import failed testcases : cases import non-existent file and try to catch the error", 53 …"language/expressions/dynamic-import/catch/nested-async-function-return-await-file-does-not-exist.… 54 … "language/expressions/dynamic-import/catch/top-level-import-catch-file-does-not-exist.js", 55 … "language/expressions/dynamic-import/catch/nested-if-import-catch-file-does-not-exist.js", 56 … "language/expressions/dynamic-import/catch/nested-arrow-import-catch-file-does-not-exist.js", 57 … "language/expressions/dynamic-import/catch/nested-async-function-file-does-not-exist.js", [all …]
|
| D | ignored-test262-fastverify-qemu-aot-pgo-litecg.txt | 96 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd… 97 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-block-import-catch-eval-r… 98 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-if-import-catch-eval-rqst… 99 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-return-awa… 100 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-function-import-catch-eva… 101 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-retu… 102 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-else-import-catch-eval-rq… 103 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-arrow-function-awai… 104 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-function-await-eval… 105 test262/data/test_es2021/language/expressions/dynamic-import/catch/nested-async-gen-await-eval-rqst… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/02.multiple_catch_clauses_in_try_statements/ |
| D | try.params.yaml | 20 } catch (e: Ex) { 22 } catch (x: X) { 24 } catch (f: Fx) { 26 } catch (y: Y) { 28 } catch (e) { 34 try {} catch (e: X) { return 1; } catch (e: Y) { return 1 } 35 catch (e: Fx) { return 1 } catch (e: Ex) { return 1 } catch (e) { return 1 } 39 // empty catch block 42 } catch (e: X) { 43 } catch (e: Y) { [all …]
|
| D | catch.params.yaml | 16 # nothing to catch 26 } catch (e: Ex) { 28 } catch (f: Fx) { 30 } catch (def) { 34 # catch by exact same class 44 } catch (e: Ex) { 46 } catch (f: Fx) { 48 } catch (def) { 52 # catch by exact same class with type alias 64 } catch (e: E1) { [all …]
|
| D | finally.params.yaml | 22 } catch (e: Ex) { 24 } catch (e) { 36 } catch (e: Ex) { 38 } catch (e) { 49 } catch (e: Ex) { 51 } catch (e: Er) { 60 // exception thrown, no suitable catch, propagates outside 64 } catch (e: Ex2) { 66 } catch (e: Er) { 78 } catch (e) { [all …]
|
| D | catch3.ets | 17 desc: The exception extends to the surrounding scope if no catch clause can handle the exception. 36 } catch (e: Ex) { 39 } catch (e: Ex) { 42 } catch (e: Ex) { 45 } catch (e: Ex) { 48 } catch (e: Ex) { 51 } catch (e: Ex) { 54 } catch (e: Ex) { 57 } catch (e: Ex) { 60 } catch (e: Ex) { [all …]
|
| D | catch2.ets | 17 desc: The exception extends to the surrounding scope if no catch clause can handle the exception. 52 } catch (e: Ex) { 55 } catch (f: F) { 58 } catch (e: Ex) { 61 } catch (f: F) { 64 } catch (e: Ex) { 67 } catch (f: F) { 70 } catch (e: Ex) { 73 } catch (f: F) { 76 } catch (e: Ex) { [all …]
|
| D | exec.params.yaml | 26 } catch (e: Ex) { 28 } catch (def) { 43 } catch (e: Ex) { 45 } catch (def) { 56 } catch (e: Ex) { 58 } catch (e) { 65 } catch (e: UncaughtExceptionError) { 67 } catch (def) { 72 # default catch for exceptions 81 } catch (f: F) { [all …]
|
| D | catch_n.params.yaml | 16 # Ex catch goes twice 25 } catch (e1: Ex) { 27 } catch (f: Er) { 29 } catch (e2: Ex) { 31 } catch (e) { 36 # default catch is not the last 45 } catch (e: Ex) { 47 } catch (e) { 49 } catch (f: Er) { 63 } catch (e: Ez) { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | catch-soft-keyword-expected.txt | 9 "name": "catch", 15 "program": "catch-soft-keyword.ets" 20 "program": "catch-soft-keyword.ets" 37 "program": "catch-soft-keyword.ets" 42 "program": "catch-soft-keyword.ets" 62 "program": "catch-soft-keyword.ets" 67 "program": "catch-soft-keyword.ets" 82 "program": "catch-soft-keyword.ets" 87 "program": "catch-soft-keyword.ets" 95 "program": "catch-soft-keyword.ets" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | signature_match_lambda.ets | 17 catch<U = never>(onRejected: () => U | PromiseLike<U>): string { 19 return "first catch is matched" 21 catch<U = never>(onRejected: (error: Error) => U | PromiseLike<U>): string { 23 return "second catch is matched" 25 catch<U = never>(onRejected: (a: Error, b: Error) => U | PromiseLike<U>): string { 27 return "third catch is matched" 29 catch<U = never>(onRejected: (a: Error, b: Error, c: Error) => U | PromiseLike<U>): string { 31 return "fourth catch is matched" 37 assertEQ(a.catch(()=>{}),"first catch is matched") 38 assertEQ(a.catch((e:Error|undefined|null)=>{}),"second catch is matched") [all …]
|
| D | try-catch.ets | 23 } catch (e: NullPointerError) { 25 } catch (e: Error) { 27 } catch (e) { 35 } catch (e: Error) { 37 } catch (e: NullPointerError) { 39 } catch (e) { 47 } catch(e: TestException) { 49 } catch (e: Exception) { 51 } catch (e) { 59 } catch (e: Exception) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/constructor_as_arg/error/ |
| D | error.ets | 35 } catch (e) { 45 } catch (e) { 55 } catch (e) { 65 } catch (e) { 75 } catch (e) { 85 } catch (e) { 95 } catch (e) { 105 } catch (e) { 115 } catch (e) { 125 } catch (e) { [all …]
|
| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | tryldglobalbyname_global_object.ts | 25 } catch (error) { 37 } catch (error) { 49 } catch (error) { 61 } catch (error) { 73 } catch (error) { 85 } catch (error) { 97 } catch (error) { 109 } catch (error) { 121 } catch (error) { 133 } catch (error) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/invalid_op_esvalue/ts_to_ets/ |
| D | invalid_op_esvalue_test.ets | 22 } catch (e: Error) { 32 } catch (e: Error) { 42 } catch (e: Error) { 52 } catch (e: Error) { 62 } catch (e: Error) { 72 } catch (e: Error) { 82 } catch (e: Error) { 92 } catch (e: Error) { 102 } catch (e: Error) { 112 } catch (e: Error) { [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/asmstackoverflow/ |
| D | asmstackoverflow.js | 28 } catch (e) { 38 } catch (e) { 48 } catch (e) { 56 } catch (error) { 67 } catch (e) { 77 } catch (e) { 87 } catch (e) { 97 } catch (e) { 107 } catch (e) { 132 } catch (e) { [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | try_catch_blocks_ir.md | 1 # Try-catch blocks IR building 22 .catch RuntimeException, try_begin_label_0, try_end_label_0, handler_begin_label_0_0 23 .catch Exception, try_begin_label_0, try_end_label_0, handler_begin_label_0_1 64 …e normal control-flow successor and N catch-handlers successors (N is equal 2 in the example: try-… 66 …y-end` block to the catch-handlers are needed for correct linear order of basic blocks, since prog… 92 .catch E, try_begin, try_end, try_end 114 \---- | TryEnd |------> | Catch | 125 `CatchPhi` - pseudo instruction which is added to the `Catch-begin` basic block. Each `CatchPhi` co… 142 …ck. It contains pointer to the `Try-end` and maps exceptions types to the catch-handlers basic blo… 149 - map from each throwable instruction the corresponding catch-handlers; [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/ |
| D | sharedcollectionsexception.ts | 42 } catch (err) { 51 } catch (err) { 60 } catch (err) { 69 } catch (err) { 78 } catch (err) { 87 } catch (err) { 96 } catch (err) { 105 } catch (err) { 114 } catch (err) { 123 } catch (err) { [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/check/ |
| D | sharedcheck.ts | 148 } catch (error) { 158 } catch (error) { 165 } catch (error) { 172 } catch (error) { 179 } catch (error) { 189 } catch (error) { 199 } catch (error) { 206 } catch (error) { 214 } catch (error) { 221 } catch (error) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/exceptions/js_to_sts/ |
| D | dynamic_function_exception.ets | 22 // 1. Dynamic function throws user-defined exception E that extends Error (catch clause with E) 24 // Test 1.1 Catch exception and check Error 29 } catch(e: Error) { 40 } catch(e: Error) { 51 } catch(e: Error) { 59 //Test 2.1 Catch exception and check Error 65 } catch(e: Error) { 75 //Test 3.1 Catch exception and check Error 81 } catch(e: Error) { 92 } catch(e: Error) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/15.try_statements/02.finally_clause/ |
| D | finally.params.yaml | 17 // no catch blocks 31 } catch (e) { 43 } catch (e) { 54 } catch (e) { 63 // error thrown, no suitable catch, propagates outside 78 } catch (e) { 88 // error thrown, with suitable catch, no propagation outside 92 } catch (e) { 105 } catch (e) { 115 // error thrown, with suitable catch, re-thrown from catch [all …]
|
12345678910>>...75