mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem/Closures] Ignore all unsupported declarations during constraint generation
Everything besides `PatternBindingDecl` is handled at solution application time.
This commit is contained in:
@@ -387,7 +387,7 @@ private:
|
|||||||
if (isa<VarDecl>(decl))
|
if (isa<VarDecl>(decl))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
llvm_unreachable("Unimplemented case for closure body");
|
// Other declarations will be handled at application time.
|
||||||
}
|
}
|
||||||
|
|
||||||
void visitBreakStmt(BreakStmt *breakStmt) {
|
void visitBreakStmt(BreakStmt *breakStmt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user