File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 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(
91899189 return None;
91909190
91919191 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) {
91959196 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);
91989199 log << " \n " ;
91999200 }
92009201 }
You can’t perform that action at this time.
0 commit comments