Skip to content

Commit c47ca78

Browse files
committed
set cache
1 parent d541681 commit c47ca78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/AST/ASTContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ FuncDecl *ASTContext::getPlusFunctionOnString() const {
696696
if (auto type = dyn_cast<DECL_CLASS>(result)) { \
697697
auto params = type->getGenericParams(); \
698698
if (NUM_GENERIC_PARAMS == (params == nullptr ? 0 : params->size())) { \
699+
getImpl().NAME##Decl = type; \
699700
return type; \
700701
} \
701702
} \

0 commit comments

Comments
 (0)