[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode f614620 493/496: Add tests for effectful read-o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode f614620 493/496: Add tests for effectful read-only properties |
Date: |
Sun, 29 Aug 2021 11:34:34 -0400 (EDT) |
branch: elpa/swift-mode
commit f614620ad63adcb617df7964923766194810ec73
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>
Add tests for effectful read-only properties
https://github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md
---
test/swift-files/indent/declarations.swift | 37 ++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/test/swift-files/indent/declarations.swift
b/test/swift-files/indent/declarations.swift
index f00c54c..598724a 100644
--- a/test/swift-files/indent/declarations.swift
+++ b/test/swift-files/indent/declarations.swift
@@ -236,6 +236,35 @@ class Foo {
foo()
}
}
+
+ var x {
+ get
+ async
+ throws {
+ 1
+ }
+ }
+
+ var x {
+ get
+ async
+ throws
+ {
+ 1
+ }
+ }
+
+ internal var x: Int {
+ @A
+ mutating
+ get
+ async
+ throws
+
+ @A
+ mutating
+ set
+ }
}
// Type alias declaration
@@ -602,11 +631,19 @@ protocol Foo {
A: C
subscript(x: Int) -> Int {
get
+ async
+ throws
set
}
associatedtype AAA = BBB
convenience
init(x: Int, y, Int)
+ var foo: Int {
+ get
+ async
+ throws
+ set
+ }
}
// Operator declarations
- [nongnu] elpa/swift-mode fa4f491 433/496: Add Emacs 25.3 and 26.1 to CI, (continued)
- [nongnu] elpa/swift-mode fa4f491 433/496: Add Emacs 25.3 and 26.1 to CI, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 3b6bdad 443/496: Bump version to 8.0.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode be8d770 446/496: Fix indentation after `class' modifier, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 3d1cfcc 047/496: Clarify manual installation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5448098 366/496: Improve functions related to defuns, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7d9aabb 426/496: Improve support for Imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b4e0622 444/496: Add test for indent of import declarations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d266fbd 462/496: Update standard types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 3bbc38e 469/496: Update copyright notices, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f88e1ac 491/496: Support actor, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f614620 493/496: Add tests for effectful read-only properties,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 471d158 490/496: Highlight actor, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 59dcd60 358/496: Fix errors in 24.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c862d2c 438/496: Update test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode aa49efa 332/496: Fix indentation of switch., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b9ad000 409/496: Make customs autoloaded, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fc718a5 415/496: Bump version to 7.0.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode bd5b2cb 449/496: Add links to lsp-sourcekit and swift-helpful, ELPA Syncer, 2021/08/29