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 @@ -320,17 +320,16 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
320
320
diagnostic_manager.Clear ();
321
321
user_expression_sp = fixed_expression_sp;
322
322
break ;
323
+ }
324
+ // The fixed expression also didn't parse. Let's check for any new
325
+ // fixits we could try.
326
+ if (!fixed_expression_sp->GetFixedText ().empty ()) {
327
+ *fixed_expression = fixed_expression_sp->GetFixedText ().str ();
323
328
} else {
324
- // The fixed expression also didn't parse. Let's check for any new
325
- // Fix-Its we could try.
326
- if (!fixed_expression_sp->GetFixedText ().empty ()) {
327
- *fixed_expression = fixed_expression_sp->GetFixedText ().str ();
328
- } else {
329
- // Fixed expression didn't compile without a fixit, don't retry and
330
- // don't tell the user about it.
331
- fixed_expression->clear ();
332
- break ;
333
- }
329
+ // Fixed expression didn't compile without a fixit, don't retry and
330
+ // don't tell the user about it.
331
+ fixed_expression->clear ();
332
+ break ;
334
333
}
335
334
}
336
335
}
You can’t perform that action at this time.
0 commit comments