This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
The lint alias will run preprocessing actions listed under (lint). It also
|
||||
defines corrections that may be promoted.
|
||||
|
||||
$ cat > correct/add.ml << EOF
|
||||
> let () = Printf.printf "%d\n" @@ 1 + 2
|
||||
> EOF
|
||||
$ dune build @correct/lint
|
||||
File "correct/add.ml", line 1, characters 0-0:
|
||||
Error: Files _build/default/correct/add.ml and
|
||||
_build/default/correct/add.ml.lint-corrected differ.
|
||||
[1]
|
||||
$ dune promote correct/add.ml
|
||||
Promoting _build/default/correct/add.ml.lint-corrected to correct/add.ml.
|
||||
$ cat correct/add.ml
|
||||
let () = Printf.printf "%d\n" @@ 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue