Skip to content

Commit 523a7b2

Browse files
committed
Properly add the Hashable conformance to ExperimentalFeatures
1 parent a8472a9 commit 523a7b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CodeGeneration/Sources/generate-swift-syntax/templates/swiftparser/ExperimentalFeaturesFile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let experimentalFeaturesFile = SourceFileSyntax(leadingTrivia: copyrightHeader)
2020
"""
2121
extension Parser {
2222
@_spi(ExperimentalLanguageFeatures)
23-
public struct ExperimentalFeatures: OptionSet, Sendable {
23+
public struct ExperimentalFeatures: OptionSet, Hashable, Sendable {
2424
public let rawValue: UInt
2525
public init(rawValue: UInt) {
2626
self.rawValue = rawValue

Sources/SwiftParser/generated/ExperimentalFeatures.swift

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)