[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typescript-mode e82a4d2527 170/222: Add a new indentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typescript-mode e82a4d2527 170/222: Add a new indentation test case that triggers an infinite loop. |
Date: |
Sun, 6 Feb 2022 16:59:30 -0500 (EST) |
branch: elpa/typescript-mode
commit e82a4d252715a264f7b0ae8d1ef47a37112110a0
Author: Louis-Dominique Dubeau <ldd@lddubeau.com>
Commit: Louis-Dominique Dubeau <ldd@lddubeau.com>
Add a new indentation test case that triggers an infinite loop.
---
test-files/indentation-reference-document.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test-files/indentation-reference-document.ts
b/test-files/indentation-reference-document.ts
index 60b3296497..96144faa72 100644
--- a/test-files/indentation-reference-document.ts
+++ b/test-files/indentation-reference-document.ts
@@ -717,3 +717,10 @@ const q =
const blip999 = (window.location.href === "fnord" ?
"a" :
"b");
+
+// The following case is purposely not correct TS code. It tests against an
+// infinite loop that would occur when the mode was asked to indent such
+// incorrect syntax.
+if (true) {
+ .bleh();
+}
- [nongnu] elpa/typescript-mode 1043025d42 204/222: Merge pull request #143 from jcs-PR/badge, (continued)
- [nongnu] elpa/typescript-mode 1043025d42 204/222: Merge pull request #143 from jcs-PR/badge, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 3abc9dc6da 006/222: missed table, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode e02a734151 058/222: Improve test-coverage., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode a922c27e95 111/222: Merge pull request #76 from ananthakumaran/fix/drop-typescript-parent-mode, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 5c9e46b2a1 128/222: Add file for jsdoc tests, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 1da0c0e8b3 084/222: Try fix CI-build., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 255f670a40 130/222: Merge pull request #92 from dakra/autoload-indent-level, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 32b8e1b6d0 134/222: Merge pull request #94 from jack-williams/add-bigint, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 6ae2c7ab9e 135/222: Highlight multiple implements types (#96), ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 761f3aec6e 161/222: Fix issues reported by package-lint, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode e82a4d2527 170/222: Add a new indentation test case that triggers an infinite loop.,
ELPA Syncer <=
- [nongnu] elpa/typescript-mode 54f14c4827 202/222: Update README.md, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b369d7d251 206/222: Merge pull request #147 from ltrel/typo-fixes, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode bc37bc4b15 176/222: Fix another member expression infinite loop., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 1e9fc35cb9 210/222: Make cask and emacs locations overridable., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 96800ed070 208/222: Migrate build to use proper tasks and new source for Emacs, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode e824162051 222/222: Merge pull request #159 from tancnle/fix-cl-deprecation-warnings, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 5b0487aae8 085/222: Fix the Emacs regex used for highlighting TS regexes., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 2cd997a8d5 102/222: Fix typescript--backward-to-parameter-list, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 2815dd1b4b 098/222: Add option to support indented case-statements. Fixes #23 (#66), ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 861d5983b6 090/222: Make the comment-start and comment-end variables local., ELPA Syncer, 2022/02/06