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.
2 parents 1b3aa87 + f704a0c commit c7644cdCopy full SHA for c7644cd
lib/SIL/Verifier/SILVerifier.cpp
@@ -1521,7 +1521,7 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
1521
1522
SILType DebugVarTy = varInfo->Type ? *varInfo->Type :
1523
SSAType.getObjectType();
1524
- if (!varInfo->DIExpr && !isa<AllocBoxInst>(inst)) {
+ if (!varInfo->DIExpr && !isa<SILBoxType>(SSAType.getASTType())) {
1525
// FIXME: Remove getObjectType() below when we fix create/createAddr
1526
require(DebugVarTy.removingMoveOnlyWrapper()
1527
== SSAType.getObjectType().removingMoveOnlyWrapper(),
0 commit comments