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 c17f770 commit 0d07b81Copy full SHA for 0d07b81
src/Analyzer/ConstantNode.cpp
@@ -160,7 +160,8 @@ ASTPtr ConstantNode::toASTImpl(const ConvertToASTOptions & options) const
160
// Constant folding may lead to type transformation and literal on shard
161
// may have a different type.
162
163
- auto requires_cast = [this]() {
+ auto requires_cast = [this]()
164
+ {
165
const auto & [_, type] = getValueNameAndType();
166
return requiresCastCall(type, getResultType());
167
};
0 commit comments