diff --git a/Sources/SwiftParser/ExperimentalFeatures.swift b/Sources/SwiftParser/ExperimentalFeatures.swift index 6fd7e4c7dc9..ee77a12322c 100644 --- a/Sources/SwiftParser/ExperimentalFeatures.swift +++ b/Sources/SwiftParser/ExperimentalFeatures.swift @@ -17,13 +17,13 @@ extension Parser { public init(rawValue: UInt) { self.rawValue = rawValue } - - /// Whether to enable the parsing of 'reference bindings'. - public static let referenceBindings = Self(rawValue: 1 << 0) } } extension Parser.ExperimentalFeatures { + /// Whether to enable the parsing of 'reference bindings'. + public static let referenceBindings = Self(rawValue: 1 << 0) + /// Whether to enable the parsing of 'then' statements. - public static let thenStatements = Self(rawValue: 1 << 0) + public static let thenStatements = Self(rawValue: 1 << 1) }