Skip to content

Commit f1e0c2b

Browse files
committed
Add “4.2” to ValidEffectiveVersions.
1 parent a09f775 commit f1e0c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ class Version {
143143

144144
// List of backward-compatibility versions that we permit passing as
145145
// -swift-version <vers>
146-
static std::array<StringRef, 3> getValidEffectiveVersions() {
147-
return {{"3", "4", "5"}};
146+
static std::array<StringRef, 4> getValidEffectiveVersions() {
147+
return {{"3", "4", "4.2", "5"}};
148148
};
149149
};
150150

0 commit comments

Comments
 (0)