Skip to content

Commit

Permalink
fix: follow the recent changes of the compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Apr 21, 2024
1 parent b9184fe commit ab5c4f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions Benchmarks/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ let package = Package(
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.enableUpcomingFeature("InternalImportsByDefault"),
],
plugins: [
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
Expand Down
12 changes: 9 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ let package = Package(
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.enableExperimentalFeature("CodeItemMacros"),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
.target(
Expand All @@ -46,6 +47,7 @@ let package = Package(
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
.macro(
Expand All @@ -58,12 +60,14 @@ let package = Package(
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
.target(
name: "HTMLEntities",
swiftSettings: [
.enableUpcomingFeature("ExistentialAny")
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
.testTarget(
Expand Down Expand Up @@ -101,7 +105,8 @@ let package = Package(
.process("Resources/html5lib-tests/tokenizer/domjs.test"),
],
swiftSettings: [
.enableUpcomingFeature("ExistentialAny")
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
.testTarget(
Expand All @@ -114,7 +119,8 @@ let package = Package(
.process("Resources")
],
swiftSettings: [
.enableUpcomingFeature("ExistentialAny")
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
),
],
Expand Down

0 comments on commit ab5c4f0

Please sign in to comment.