We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ed490 commit dd4fea1Copy full SHA for dd4fea1
include/swift/AST/Types.h
@@ -2020,7 +2020,7 @@ class ParameterTypeFlags {
2020
2021
ParameterTypeFlags withCompileTimeConst(bool isConst) const {
2022
return ParameterTypeFlags(isConst ? value | ParameterTypeFlags::CompileTimeConst
2023
- : value | ParameterTypeFlags::CompileTimeConst);
+ : value - ParameterTypeFlags::CompileTimeConst);
2024
}
2025
2026
ParameterTypeFlags withShared(bool isShared) const {
0 commit comments