File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9189,12 +9189,13 @@ Optional<SolutionApplicationTarget> ConstraintSystem::applySolution(
9189
9189
return None;
9190
9190
9191
9191
if (isDebugMode ()) {
9192
- // If we had partially type-checked expressions, lets print
9193
- // fully type-checked expression after processDelayed is done.
9194
- if (needsPostProcessing) {
9192
+ // If we had partially type-checked expressions, lets print
9193
+ // fully type-checked target after processDelayed is done.
9194
+ auto node = target.getAsASTNode ();
9195
+ if (node && needsPostProcessing) {
9195
9196
auto &log = llvm::errs ();
9196
- log << " ---Fully type-checked expression ---\n " ;
9197
- resultTarget-> getAsExpr ()-> dump (log );
9197
+ log << " ---Fully type-checked target ---\n " ;
9198
+ node. dump (log );
9198
9199
log << " \n " ;
9199
9200
}
9200
9201
}
You can’t perform that action at this time.
0 commit comments