Skip to content

Commit 106daeb

Browse files
mikhailmaslostackotter
authored andcommitted
Specify all platforms in availability for regex literal
1 parent 6a358b8 commit 106daeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MacroToolkit/RegexLiteral.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public struct RegexLiteral: LiteralProtocol {
1515
}
1616

1717
/// Rethrows parsing errors thrown by the `Regex` initializer.
18-
@available(macOS 13.0, *)
18+
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
1919
public func regexValue() throws -> Regex<AnyRegexOutput> {
2020
return try Regex(_syntax.regex.text)
2121
}

0 commit comments

Comments
 (0)