branch: elpa/swift-mode
commit 05a661ef2979dff48ad4a0c1cc90e59919cbca3b
Author: taku0 <[email protected]>
Commit: taku0 <[email protected]>
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