branch: elpa/swift-mode
commit c7cc7a3b743dd198890730358f81744dcae08d20
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Add tests for opaque result types (some)
---
 test/swift-files/indent/declarations.swift | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/test/swift-files/indent/declarations.swift 
b/test/swift-files/indent/declarations.swift
index d7515a5850..41a13165e6 100644
--- a/test/swift-files/indent/declarations.swift
+++ b/test/swift-files/indent/declarations.swift
@@ -766,3 +766,20 @@ let values: [
   any
     Any
 ] = []
+
+// some
+
+var
+  foo
+  :
+  some
+  Foo {
+    return Bar()
+}
+
+func foo()
+  ->
+  some
+  Foo {
+    return Bar()
+}

Reply via email to