diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2021-03-15 13:56:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 13:56:31 -0400 |
| commit | 2ff9b01551d4bdb3a820774252706d4e58bceaba (patch) | |
| tree | e7f4a547a6a37ee18b30ac1065a2eaa46ae2cba4 /cli/tests | |
| parent | 0ae079fe50c674824e86a1a0aeb4d2dbd5721dbf (diff) | |
Revert "fix(cli/module_graph): Set useDefineForClassFields to true" (#9792)
Backwards incompatible change cannot be made in-between patch releases.
This commit broke std tests https://github.com/denoland/deno_std/runs/2112369372
This reverts commit c4709834b37640fd3c9d492123e6add904546573.
Diffstat (limited to 'cli/tests')
| -rw-r--r-- | cli/tests/088_use_define_for_class_fields.ts | 4 | ||||
| -rw-r--r-- | cli/tests/088_use_define_for_class_fields.ts.out | 4 | ||||
| -rw-r--r-- | cli/tests/integration_tests.rs | 6 |
3 files changed, 0 insertions, 14 deletions
diff --git a/cli/tests/088_use_define_for_class_fields.ts b/cli/tests/088_use_define_for_class_fields.ts deleted file mode 100644 index 9be984abf..000000000 --- a/cli/tests/088_use_define_for_class_fields.ts +++ /dev/null @@ -1,4 +0,0 @@ -class A { - b = this.a; - constructor(public a: unknown) {} -} diff --git a/cli/tests/088_use_define_for_class_fields.ts.out b/cli/tests/088_use_define_for_class_fields.ts.out deleted file mode 100644 index 08f94a967..000000000 --- a/cli/tests/088_use_define_for_class_fields.ts.out +++ /dev/null @@ -1,4 +0,0 @@ -[WILDCARD]error: TS2729 [ERROR]: Property 'a' is used before its initialization. - b = this.a; - ^ -[WILDCARD] diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index cddeb40f6..23d119d44 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2841,12 +2841,6 @@ console.log("finish"); output: "087_no_check_imports_not_used_as_values.ts.out", }); - itest!(_088_use_define_for_class_fields { - args: "run 088_use_define_for_class_fields.ts", - output: "088_use_define_for_class_fields.ts.out", - exit_code: 1, - }); - itest!(js_import_detect { args: "run --quiet --reload js_import_detect.ts", output: "js_import_detect.ts.out", |
