Skip to content

Commit f298719

Browse files
committed
Updated deps
1 parent b2cf45b commit f298719

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

Package.resolved

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ let package = Package(
3131
.package(url: "https://github.com/apple/swift-nio.git", .exact("2.7.1")),
3232
// Development
3333
.package(url: "https://github.com/Quick/Nimble.git", .exact("8.0.2")), // dev
34+
.package(url: "https://github.com/minuscorp/ModuleInterface", from: "0.0.1"), // dev
3435
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.35.8"), // dev
3536
.package(url: "https://github.com/jpsim/SourceKitten", from: "0.26.0"), // dev
3637
.package(url: "https://github.com/shibapm/Rocket", from: "0.4.0"), // dev
3738
.package(url: "https://github.com/Realm/SwiftLint", from: "0.35.0"), // dev
3839
.package(url: "https://github.com/eneko/SourceDocs", from: "0.6.1"), // dev
3940
.package(url: "https://github.com/shibapm/PackageConfig.git", from: "0.12.2"), // dev
4041
.package(url: "https://github.com/shibapm/Komondor.git", from: "1.0.0"), // dev
41-
.package(url: "https://github.com/Carthage/Commandant.git", .exact("0.16.0")), // dev
42+
.package(url: "https://github.com/Carthage/Commandant.git", .exact("0.17.0")), // dev
4243
],
4344
targets: [
4445
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ end
3030

3131
task(:docs) do
3232
sh('swift run sourcedocs generate --min-acl public --spm-module Mini --output-folder docs')
33-
sh('moduleinterface generate --spm-module Mini --output-folder docs')
33+
sh('swift run moduleinterface generate --spm-module Mini --output-folder docs')
3434
end

docs/Mini.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public protocol PayloadAction {
231231
init(promise: Mini.Promise<Self.Payload>)
232232
}
233233

234-
@dynamicMemberLookup public final class Promise<T>: Mini.PromiseType {
234+
@dynamicCallable @dynamicMemberLookup public final class Promise<T>: Mini.PromiseType {
235235
public typealias Element = T
236236

237237
public class func value(_ value: T) -> Mini.Promise<T>
@@ -264,7 +264,9 @@ public protocol PayloadAction {
264264
/// make optional chaining in the `Reducer` context.
265265
public func resolve(_ result: Result<T, Error>?) -> Self?
266266

267-
public subscript<T>(dynamicMember member: String) -> T?
267+
public subscript<Value>(dynamicMember _: String) -> Value? { get }
268+
269+
public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, T>)
268270
}
269271

270272
extension Promise {

0 commit comments

Comments
 (0)