File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -308,17 +308,16 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
308
308
diagnostic_manager.Clear ();
309
309
user_expression_sp = fixed_expression_sp;
310
310
break ;
311
+ }
312
+ // The fixed expression also didn't parse. Let's check for any new
313
+ // fixits we could try.
314
+ if (!fixed_expression_sp->GetFixedText ().empty ()) {
315
+ *fixed_expression = fixed_expression_sp->GetFixedText ().str ();
311
316
} else {
312
- // The fixed expression also didn't parse. Let's check for any new
313
- // Fix-Its we could try.
314
- if (!fixed_expression_sp->GetFixedText ().empty ()) {
315
- *fixed_expression = fixed_expression_sp->GetFixedText ().str ();
316
- } else {
317
- // Fixed expression didn't compile without a fixit, don't retry and
318
- // don't tell the user about it.
319
- fixed_expression->clear ();
320
- break ;
321
- }
317
+ // Fixed expression didn't compile without a fixit, don't retry and
318
+ // don't tell the user about it.
319
+ fixed_expression->clear ();
320
+ break ;
322
321
}
323
322
}
324
323
}
You can’t perform that action at this time.
0 commit comments