Skip to content

Commit 19d6595

Browse files
committed
Set the default compiler effective language version to Swift 5 for now
1 parent a3c3d3e commit 19d6595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ namespace swift {
172172
///
173173

174174
/// User-overridable language version to compile for.
175-
version::Version EffectiveLanguageVersion = version::Version::getCurrentLanguageVersion();
175+
version::Version EffectiveLanguageVersion = Version{5};
176176

177177
/// Swift runtime version to compile for.
178178
version::Version RuntimeVersion = version::Version::getCurrentLanguageVersion();

0 commit comments

Comments
 (0)