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

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

[nongnu] elpa/typescript-mode fd1c9daa4d 094/222: Add failing cases.


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode fd1c9daa4d 094/222: Add failing cases.
Date: Sun, 6 Feb 2022 16:59:21 -0500 (EST)

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

    Add failing cases.
---
 test-files/indentation-reference-document.ts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/test-files/indentation-reference-document.ts 
b/test-files/indentation-reference-document.ts
index 2ebed78697..7ba8328968 100644
--- a/test-files/indentation-reference-document.ts
+++ b/test-files/indentation-reference-document.ts
@@ -488,6 +488,19 @@ function foo12(): void {
     });
 }
 
+// Number literals in the return type annotation.
+function foo13(something: string,
+               somethingElse: string): 0b1 | 0 | -1 | 0o2 | 0x3f {
+    return 0;
+}
+
+// No spaces between numbers and type union symbols. (Also changed the
+// notation to uppercase where possible.)
+function foo14(something: string,
+               somethingElse: string): 0B1|0|-1|0O2|0X3F {
+    return 0;
+}
+
 const a =
     1; // Blah
 const b = 2;



reply via email to

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