Skip to content

Commit

Permalink
Add -enable-upcoming-feature InferSendableFromCaptures
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Aug 22, 2024
1 parent 88943e7 commit 7afd79e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CotEditor.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3278,7 +3278,7 @@
INFOPLIST_FILE = CotEditor/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
MARKETING_VERSION = "5.0.0-alpha";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency -enable-upcoming-feature InferSendableFromCaptures";
PRODUCT_BUNDLE_IDENTIFIER = com.coteditor.CotEditor;
PRODUCT_NAME = CotEditor;
SWIFT_STRICT_CONCURRENCY = targeted;
Expand All @@ -3298,7 +3298,7 @@
INFOPLIST_FILE = CotEditor/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
MARKETING_VERSION = "5.0.0-alpha";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency -enable-upcoming-feature InferSendableFromCaptures";
PRODUCT_BUNDLE_IDENTIFIER = com.coteditor.CotEditor;
PRODUCT_NAME = CotEditor;
SWIFT_STRICT_CONCURRENCY = targeted;
Expand Down Expand Up @@ -3342,7 +3342,7 @@
INFOPLIST_FILE = CotEditor/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
MARKETING_VERSION = "5.0.0-alpha";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency -enable-upcoming-feature InferSendableFromCaptures";
PRODUCT_BUNDLE_IDENTIFIER = com.coteditor.CotEditor;
PRODUCT_NAME = CotEditor;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SPARKLE";
Expand All @@ -3363,7 +3363,7 @@
INFOPLIST_FILE = CotEditor/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
MARKETING_VERSION = "5.0.0-alpha";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency";
OTHER_SWIFT_FLAGS = "-enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature GlobalConcurrency -enable-upcoming-feature InferSendableFromCaptures";
PRODUCT_BUNDLE_IDENTIFIER = com.coteditor.CotEditor;
PRODUCT_NAME = CotEditor;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SPARKLE";
Expand Down
2 changes: 0 additions & 2 deletions CotEditor/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ import FileEncoding
import LineEnding
import UnicodeNormalization

extension KeyPath: @retroactive @unchecked Sendable { }

extension Logger {

static let app = Logger(subsystem: "com.coteditor.CotEditor", category: "application")
Expand Down

0 comments on commit 7afd79e

Please sign in to comment.