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 a40b750 commit 2b3bdfdCopy full SHA for 2b3bdfd
lib/SIL/Verifier/SILVerifier.cpp
@@ -1488,7 +1488,7 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
1488
1489
SILType DebugVarTy = varInfo->Type ? *varInfo->Type :
1490
SSAType.getObjectType();
1491
- if (!varInfo->DIExpr && !isa<AllocBoxInst>(inst)) {
+ if (!varInfo->DIExpr && !isa<SILBoxType>(SSAType.getASTType())) {
1492
// FIXME: Remove getObjectType() below when we fix create/createAddr
1493
require(DebugVarTy.removingMoveOnlyWrapper()
1494
== SSAType.getObjectType().removingMoveOnlyWrapper(),
0 commit comments