We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a5542 commit 7bad722Copy full SHA for 7bad722
source/slang/slang-check-overload.cpp
@@ -2562,8 +2562,8 @@ Expr* SemanticsVisitor::ResolveInvoke(InvokeExpr* expr)
2562
ResolvedOperatorOverload candidate;
2563
if (typeCheckingCache->resolvedOperatorOverloadCache.tryGetValue(key, candidate))
2564
{
2565
- // We should only use the cached candidate if it is persistent direct declref created
2566
- // from GlobalSession's ASTBuilder, or it is created in the current Linkage.
+ // We should only use the cached candidate if it is persistent direct declref
+ // created from GlobalSession's ASTBuilder, or it is created in the current Linkage.
2567
if (candidate.cacheVersion == typeCheckingCache->version ||
2568
as<DirectDeclRef>(candidate.candidate.item.declRef.declRefBase))
2569
0 commit comments