File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ namespace swift {
172
172
// /
173
173
174
174
// / User-overridable language version to compile for.
175
- version::Version EffectiveLanguageVersion = version::Version{5 };
175
+ version::Version EffectiveLanguageVersion = version::Version{5 , 10 };
176
176
177
177
// / Swift runtime version to compile for.
178
178
version::Version RuntimeVersion = version::Version::getCurrentLanguageVersion();
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ llvm::Optional<Version> Version::getEffectiveLanguageVersion() const {
176
176
assert (size () == 2 && Components[0 ] == 4 && Components[1 ] == 2 );
177
177
return Version{4 , 2 };
178
178
case 5 :
179
- return Version{5 };
179
+ return Version{5 , 10 };
180
180
case 6 :
181
181
static_assert (SWIFT_VERSION_MAJOR == 6 ,
182
182
" getCurrentLanguageVersion is no longer correct here" );
You can’t perform that action at this time.
0 commit comments