emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode 5bf30fe8d6 175/222: Add member expressions


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 5bf30fe8d6 175/222: Add member expressions tests involving type parameters.
Date: Sun, 6 Feb 2022 16:59:30 -0500 (EST)

branch: elpa/typescript-mode
commit 5bf30fe8d6915db32d40170e9b05b3e8ae99d2b2
Author: Louis-Dominique Dubeau <ldd@lddubeau.com>
Commit: Louis-Dominique Dubeau <ldd@lddubeau.com>

    Add member expressions tests involving type parameters.
---
 test-files/indentation-reference-document.ts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test-files/indentation-reference-document.ts 
b/test-files/indentation-reference-document.ts
index 91eb7e5168..765f8d977e 100644
--- a/test-files/indentation-reference-document.ts
+++ b/test-files/indentation-reference-document.ts
@@ -725,6 +725,18 @@ if (true) {
     .bleh();
 }
 
+const m =
+    fnord<string, number>()
+        .log<number, string>()
+        .blah();
+
+// This next expression is purposely not correct TS code. The missing parens
+// after fnord would trigger an infinite loop in earlier implementations.
+const m =
+    fnord<string, unknown>
+        .log<number, string>()
+        .blah();
+
 ) {
     1 + 2; // Indenting this line would cause an infinite loop
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]