Fix the order of files in (diff file.ml file.ml.ppx-corrected)
The generated correction must come after for promotion to work.
This commit is contained in:
parent
9dd5ab74e4
commit
92f9ce4edb
|
@ -887,8 +887,8 @@ module PP = struct
|
|||
[ build
|
||||
; Build.return
|
||||
(A.diff ~optional:true
|
||||
(Path.extend_basename fn ~suffix:".ppx-corrected")
|
||||
fn)
|
||||
fn
|
||||
(Path.extend_basename fn ~suffix:".ppx-corrected"))
|
||||
]
|
||||
|
||||
let lint_module sctx ~(source : Module.t) ~(ast : Module.t) ~dir
|
||||
|
|
Loading…
Reference in New Issue