Skip to content

Commit

Permalink
Merge pull request #39 from p-x9/feature/existential-any
Browse files Browse the repository at this point in the history
enable `ExistentialAny`
  • Loading branch information
p-x9 committed Jun 25, 2023
2 parents 3f6e1fd + 8c3a822 commit 35784ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.7
// swift-tools-version: 5.8

import PackageDescription

Expand Down Expand Up @@ -27,6 +27,9 @@ let package = Package(
dependencies: [
.product(name: "KeyPathValue", package: "KeyPathValue")
],
swiftSettings: [
.enableUpcomingFeature("ExistentialAny", .when(configuration: .debug))
],
plugins: []
),
.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/AppContainer/AppContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class AppContainer {
/// standard container manager
public static let standard = AppContainer()

public var delegates: WeakHashTable<AppContainerDelegate> = .init()
public var delegates: WeakHashTable<any AppContainerDelegate> = .init()

private let fileManager = FileManager.default

Expand Down

0 comments on commit 35784ae

Please sign in to comment.