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

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

[nongnu] elpa/swift-mode 05a661e 1/4: Add test for SE-0310 Effectful Rea


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 05a661e 1/4: Add test for SE-0310 Effectful Read-only Properties
Date: Sat, 25 Sep 2021 00:58:11 -0400 (EDT)

branch: elpa/swift-mode
commit 05a661ef2979dff48ad4a0c1cc90e59919cbca3b
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Add test for SE-0310 Effectful Read-only Properties
    
    
https://github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md
---
 test/swift-files/indent/declarations.swift | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/swift-files/indent/declarations.swift 
b/test/swift-files/indent/declarations.swift
index 598724a..52cd3b5 100644
--- a/test/swift-files/indent/declarations.swift
+++ b/test/swift-files/indent/declarations.swift
@@ -150,7 +150,9 @@ class Foo {
       : (Int, Int) {
         @A
         mutating
-          get {
+          get
+          async
+          throws {
             foo()
 
             return foo()
@@ -170,6 +172,8 @@ class Foo {
         @A
         mutating
           get
+          async
+          throws
 
         @A
         mutating



reply via email to

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