Skip to content

Commit

Permalink
Don't populate cache from legacy diagnostics (#11696)
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jul 18, 2024
1 parent ba5967a commit d710be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/displayProcessing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ let handle_display_argument_old com file_pos actx =
| "diagnostics" ->
com.report_mode <- RMLegacyDiagnostics [file_unique];
let dm = create DMNone in
{dm with dms_display_file_policy = DFPOnly; dms_per_file = true}
{dm with dms_display_file_policy = DFPOnly; dms_per_file = true; dms_populate_cache = false}
| "statistics" ->
com.report_mode <- RMStatistics;
let dm = create DMNone in
Expand Down

0 comments on commit d710be3

Please sign in to comment.