Home
last modified time | relevance | path

Searched full:try (Results 1 – 25 of 11869) sorted by relevance

12345678910>>...475

/third_party/rust/rust/src/tools/rust-installer/
Dtest.sh67 try() { function
233 try sh "$S/gen-installer.sh" \
237 try "$WORK_DIR/package/install.sh" --prefix="$PREFIX_DIR"
238 try test -e "$PREFIX_DIR/something-to-install"
239 try test -e "$PREFIX_DIR/dir-to-install/foo"
240 try test -e "$PREFIX_DIR/bin/program"
241 try test -e "$PREFIX_DIR/bin/program2"
242 try test -e "$PREFIX_DIR/bin/bad-bin"
247 try sh "$S/gen-installer.sh" \
251 try "$WORK_DIR/package/install.sh" --prefix="$PREFIX_DIR"
[all …]
/third_party/typescript/tests/baselines/reference/
DcatchClauseWithTypeAnnotation.js8 try { } catch (x) { } // should be OK
9 try { } catch (x: any) { } // should be OK
10 try { } catch (x: any1) { } // should be OK
11 try { } catch (x: unknown) { } // should be OK
12 try { } catch (x: unknown1) { } // should be OK
13 try { } catch (x) { x.foo; } // should be OK
14 try { } catch (x: any) { x.foo; } // should be OK
15 try { } catch (x: any1) { x.foo; } // should be OK
16 try { } catch (x: unknown) { console.log(x); } // should be OK
17 try { } catch (x: unknown1) { console.log(x); } // should be OK
[all …]
DjsdocCatchClauseWithTypeAnnotation.js11 try { } catch (x) { } // should be OK
12 try { } catch (/** @type {any} */ err) { } // should be OK
13 try { } catch (/** @type {Any} */ err) { } // should be OK
14 try { } catch (/** @type {unknown} */ err) { } // should be OK
15 try { } catch (/** @type {Unknown} */ err) { } // should be OK
16 try { } catch (err) { err.foo; } // should be OK
17 try { } catch (/** @type {any} */ err) { err.foo; } // should be OK
18 try { } catch (/** @type {Any} */ err) { err.foo; } // should be OK
19 try { } catch (/** @type {unknown} */ err) { console.log(err); } // should be OK
20 try { } catch (/** @type {Unknown} */ err) { console.log(err); } // should be OK
[all …]
DdoYouNeedToChangeYourTargetLibraryES2015.errors.txt1 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
2 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
3 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
4 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
5 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
6 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
7 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
8 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
9 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
10 …83: Cannot find name 'Reflect'. Do you need to change your target library? Try changing the 'lib' …
[all …]
DinvalidTryStatements.js3 catch(x) { } // error missing try
7 try { }; // error missing finally
11 finally { } // error missing try
12 catch (x) { } // error missing try
14try { } finally { } // statement is here, so the 'catch' clause above doesn't absorb errors from t…
16 finally { } // error missing try
18 catch (x) { } // error missing try
20 try { } catch () { } // error missing catch binding
25 try {
27 catch (x) { } // error missing try
[all …]
DtryStatements.js3 try { } catch { }
5 try { } catch {
6 try { } catch {
7 try { } catch { }
9 try { } catch { }
12 try { } catch (x) { var x: any; }
14 try { } finally { }
16 try { } catch { } finally { }
18 try { } catch (z) { } finally { }
23 try { }
[all …]
DdoYouNeedToChangeYourTargetLibraryES2016Plus.errors.txt1 …s not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' …
2 …t' does not exist on type '""'. Do you need to change your target library? Try changing the 'lib' …
3 …d' does not exist on type '""'. Do you need to change your target library? Try changing the 'lib' …
4 …st on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' …
5 …st on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' …
6 …st on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' …
7 …exist on type 'DateTimeFormat'. Do you need to change your target library? Try changing the 'lib' …
8 …83: Cannot find name 'Atomics'. Do you need to change your target library? Try changing the 'lib' …
9 … find name 'SharedArrayBuffer'. Do you need to change your target library? Try changing the 'lib' …
10 …ist on type 'Promise<unknown>'. Do you need to change your target library? Try changing the 'lib' …
[all …]
DinvalidTryStatements.errors.txt1 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(2,5): error TS1005: 'try' …
3 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(10,5): error TS1005: 'try'…
4 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(11,5): error TS1005: 'try'…
5 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(15,5): error TS1005: 'try'…
6 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(17,5): error TS1005: 'try'…
12 catch(x) { } // error missing try
14 !!! error TS1005: 'try' expected.
18 try { }; // error missing finally
24 finally { } // error missing try
26 !!! error TS1005: 'try' expected.
[all …]
DtryCatchFinallyControlFlow.js6 try {
21 try {
36 try {
51 try {
65 try {
80 try {
95 try {
112 try {
127 try {
145 try {
[all …]
DdidYouMeanSuggestionErrors.errors.txt1 …ame 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @…
2 …find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @…
3 … Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @…
4 …d name 'suite'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @…
5 …nd name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @…
6 …84: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' …
7 …not find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @…
8 …4: Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' …
9 …not find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @…
10 …nnot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @…
[all …]
DcatchClauseWithTypeAnnotation.errors.txt18 try { } catch (x) { } // should be OK
19 try { } catch (x: any) { } // should be OK
20 try { } catch (x: any1) { } // should be OK
21 try { } catch (x: unknown) { } // should be OK
22 try { } catch (x: unknown1) { } // should be OK
23 try { } catch (x) { x.foo; } // should be OK
24 try { } catch (x: any) { x.foo; } // should be OK
25 try { } catch (x: any1) { x.foo; } // should be OK
26 try { } catch (x: unknown) { console.log(x); } // should be OK
27 try { } catch (x: unknown1) { console.log(x); } // should be OK
[all …]
/third_party/skia/third_party/externals/angle2/infra/config/generated/
Dcommit-queue.cfg30 name: "angle/try/android-arm-compile"
33 name: "angle/try/android-arm-dbg-compile"
36 name: "angle/try/android-arm64-dbg-compile"
39 name: "angle/try/android-arm64-test"
42 name: "angle/try/linux-asan-test"
45 name: "angle/try/linux-dbg-compile"
48 name: "angle/try/linux-test"
51 name: "angle/try/linux-trace"
58 name: "angle/try/mac-dbg-compile"
61 name: "angle/try/mac-test"
[all …]
/third_party/python/Lib/test/
Dtest_raise.py13 try:
28 try:
36 try:
37 try:
49 try:
52 try:
61 try:
64 try:
74 try:
81 try:
[all …]
Dtest_exception_variations.py10 try:
28 try:
45 try:
59 try:
72 try:
82 try:
93 try:
107 try:
120 try:
132 try:
[all …]
/third_party/jerryscript/tests/jerry/
Dregression-test-issue-786.js15 try { RegExp.prototype.toString() } catch (err) { }
16 try { Date.prototype.toTimeString() } catch (err) { }
17 try { Boolean.prototype.toString() } catch (err) { }
18 try { String.prototype.match(isNaN) } catch (err) { }
19 try { Math.round(Math.atan) } catch (err) { }
20 try { Date.prototype.getUTCDay() } catch (err) { }
21 try { toLocaleString() } catch (err) { }
22 try { Array.prototype.join(String.prototype.split) } catch (err) { }
23 try { Date.prototype.getSeconds() } catch (err) { }
24 try { isNaN.apply(Date.prototype.toISOString, String.prototype.split) } catch (err) { }
[all …]
Dregression-test-issue-1082.js15 try { new (String)().A.A.A (A) } catch (A) {}
16 try { new (this.RegExp)().A () } catch (A) {}
17 try { A.A.A () } catch (A) {}
18 try { ; } catch (A) {}
19 try { new A.A () } catch (A) {}
20 try { new (this.Date)().setMinutes (this.RegExp.prototype) } catch (A) {}
21 try { ; } catch (A) {}
22 try { ; } catch (A) {}
23 try { new A.A (A) } catch (A) {}
24 try { this.A (A) } catch (A) {}
[all …]
Dregression-test-issue-1083.js15 try { ; } catch (A) {}
16 try { new (this.String)().A.A.A (A) } catch (A) {}
17 try { ; } catch (A) {}
18 try { new (this.RegExp)().A () } catch (A) {}
19 try { A.A.A () } catch (A) {}
20 try { } catch (A) {}
21 try { ; } catch (A) {}
22 try { ; } catch (A) {}
23 try { ; } catch (A) {}
24 try { ; } catch (A) {}
[all …]
/third_party/skia/m133/third_party/externals/libyuv/infra/config/
Dcommit-queue.cfg30 name: "libyuv/try/presubmit"
59 name: "libyuv/try/android"
63 name: "libyuv/try/android_arm64"
67 name: "libyuv/try/android_rel"
71 name: "libyuv/try/android_x64"
74 name: "libyuv/try/android_x86"
77 name: "libyuv/try/ios_arm64"
80 name: "libyuv/try/ios_arm64_rel"
83 name: "libyuv/try/linux"
86 name: "libyuv/try/linux_asan"
[all …]
/third_party/typescript/tests/cases/conformance/statements/tryStatements/
DcatchClauseWithTypeAnnotation.ts7 try { } catch (x) { } // should be OK
8 try { } catch (x: any) { } // should be OK
9 try { } catch (x: any1) { } // should be OK
10 try { } catch (x: unknown) { } // should be OK
11 try { } catch (x: unknown1) { } // should be OK
12 try { } catch (x) { x.foo; } // should be OK
13 try { } catch (x: any) { x.foo; } // should be OK
14 try { } catch (x: any1) { x.foo; } // should be OK
15 try { } catch (x: unknown) { console.log(x); } // should be OK
16 try { } catch (x: unknown1) { console.log(x); } // should be OK
[all …]
/third_party/rust/rust/tests/ui/try-block/
Dtry-block-unused-delims.stderr2 --> $DIR/try-block-unused-delims.rs:11:13
4 LL | consume((try {}));
8 --> $DIR/try-block-unused-delims.rs:6:9
14 LL - consume((try {}));
15 LL + consume(try {});
19 --> $DIR/try-block-unused-delims.rs:14:13
21 LL | consume({ try {} });
25 --> $DIR/try-block-unused-delims.rs:6:24
31 LL - consume({ try {} });
32 LL + consume(try {});
[all …]
Dtry-block-bad-type.stderr2 --> $DIR/try-block-bad-type.rs:7:16
11 error[E0271]: type mismatch resolving `<Result<i32, i32> as Try>::Output == &str`
12 --> $DIR/try-block-bad-type.rs:12:9
17 error[E0271]: type mismatch resolving `<Result<i32, i32> as Try>::Output == ()`
18 --> $DIR/try-block-bad-type.rs:15:39
20 LL | let res: Result<i32, i32> = try { };
23 error[E0277]: a `try` block must return `Result` or `Option` (or another type that implements `Try`)
24 --> $DIR/try-block-bad-type.rs:17:25
26 LL | let res: () = try { };
27 … ^ could not wrap the final value of the block as `()` doesn't implement `Try`
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/
DjsdocCatchClauseWithTypeAnnotation.ts17 try { } catch (x) { } // should be OK
18 try { } catch (/** @type {any} */ err) { } // should be OK
19 try { } catch (/** @type {Any} */ err) { } // should be OK
20 try { } catch (/** @type {unknown} */ err) { } // should be OK
21 try { } catch (/** @type {Unknown} */ err) { } // should be OK
22 try { } catch (err) { err.foo; } // should be OK
23 try { } catch (/** @type {any} */ err) { err.foo; } // should be OK
24 try { } catch (/** @type {Any} */ err) { err.foo; } // should be OK
25 try { } catch (/** @type {unknown} */ err) { console.log(err); } // should be OK
26 try { } catch (/** @type {Unknown} */ err) { console.log(err); } // should be OK
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dsingle_char_pattern.stderr5 | ^^^ help: try using a `char` instead: `'x'`
13 | ^^^ help: try using a `char` instead: `'ß'`
19 | ^^^ help: try using a `char` instead: `'ℝ'`
25 | ^^^^ help: try using a `char` instead: `'��'`
31 | ^^^ help: try using a `char` instead: `'x'`
37 | ^^^ help: try using a `char` instead: `'x'`
43 | ^^^ help: try using a `char` instead: `'x'`
49 | ^^^ help: try using a `char` instead: `'x'`
55 | ^^^ help: try using a `char` instead: `'x'`
61 | ^^^ help: try using a `char` instead: `'x'`
[all …]
Dexplicit_auto_deref.stderr5 | ^^^ help: try this: `&s`
13 | ^^^^^^^^^^^^^^^^^^^ help: try this: `&{ String::new() }`
19 | ^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&mut { String::new() }`
25 | ^^^ help: try this: `&s`
31 | ^^^ help: try this: `&s`
37 | ^^^^ help: try this: `&b`
43 | ^^^ help: try this: `&s`
49 | ^^^^ help: try this: `x`
55 | ^^^^ help: try this: `x`
61 | ^^^^^^^^ help: try this: `{ x }`
[all …]
Dredundant_closure_call_fixable.stderr1 error: try not to call a closure in the expression where it is declared
5 | ^^^^^^^^^ help: try doing something like: `42`
9 error: try not to call a closure in the expression where it is declared
20 help: try doing something like
29 error: try not to call a closure in the expression where it is declared
40 help: try doing something like
49 error: try not to call a closure in the expression where it is declared
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try doing something like: `async { something().…
55 error: try not to call a closure in the expression where it is declared
59 | ^^^^^^^^^^^ help: try doing something like: `m!()`
[all …]

12345678910>>...475