-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs in opam repository #985
Comments
I updated the list using the last release (0.13.0). Some are mysteriously fixed (not by fixing the linked issue) and one file has now a different bug (in |
What's the status here ? Is the list of issue up to date ? |
I ran ocamlformat over 80% of all opam packages. Error output:
On some files, OCamlformat is stuck (taking 100% of the CPU for ever):
These projects contain many files that trigger this problem. |
I'm surprised by the amount of "ast changed" in the report above. I wonder if we've introduced regressions since the initial report. |
Has anyone looked at this since my last comment ? |
I'm running the script to see if the results improved since last time and will open issues for cases to fix. Here are some partial results, AST changed for:
|
What's the status of this ? Are there still bugs found while parsing opam files ? |
I am not aware of any related fixes or new bugs. It would be nice to re-run the survey. |
BUG: ast changed.many related to #2405 "./frenetic.5.0.5/src/lib/netkat/FabricGen.ml". BUG: comment changed.many related to the left margin "./daypack-lib.0.0.6/tests/sched.ml". BUG: generating invalid ocaml syntax.both covered by #2406 "./eliom.10.0.0/src/lib/eliom_lib.client.ml" BUG: generating invalid comment attachement#2407, ... "./nloge.0.0.2/src/emit.ml" |
I've filtered out all errors related to |
Thanks a lot for this ! |
We're making progress, trying to format a large part of opam-repository I only see issues related to stabilization. (the the one mentioned in #2405) I'm tempted to close this issue and open a new one that would only track stabilization issues (we already have some #2454)
|
Closing. let's move the rest of issues in #2457 |
Note that this experiment is based on #984
How to reproduce
gives, with some manual cleanup, the following errors:
./bap-objdump.1.6.0/lib/x86_cpu/x86_types.ml: formatting did not stabilize after 10 iterations.
(fixed by Fix unstable unattached doc comment in records #998)./boomerang.1.1.0/lib/bakery.ml: ast changed.
(issue Bug: String literal changed #994, fixed by Fix string literal changed #995)./frenetic.5.0.3/test/Test_Frenetic_NetKAT_Compiler.ml: ast changed.
(fixed by Fix string literal changed #995)./mldonkey.3.1.6/src/daemon/common/commonMessages.ml: ast changed.
(fixed by Fix string literal changed #995)./mldonkey.3.1.6/src/daemon/common/commonPictures.ml: ast changed.
(fixed by Fix string literal changed #995)./ocaml-variants.4.10.0+trunk+flambda/testsuite/tests/parsetree/source.ml: ~~generating invalid ocaml syntax~~ ast changed.
(fixed by Fix type variable #996)./ocaml_at_p.1.1.0/test/test.ml: ast changed.
(Fix parens around constrained expr with attrs #987)./ppx_cstubs.0.2.0/examples/inline.c.ml: generating invalid ocaml syntax.
(Fix: escape special characters in external declaration #988)./ppx_monadic.2.3.0/tests/test_beginm.ml: unhandled exception. Use [--debug] for details.
./ppx_monoid.0.2/test/test.ml: unhandled exception. Use [--debug] for details.
(issue Bug: Crash on extension on sequence #990)./tensorflow.0.0.11/src/stubs/tf_bindings.ml: formatting did not stabilize after 10 iterations.
./ott.0.29/src/lex_menhir_pp.ml: formatting did not stabilize after 10 iterations.
(fixed by Fix comments' position #921)./ocamleditor.1.13.4/src/oebuild/oebuild_parallel.ml: formatting did not stabilize after 10 iterations.
(fixed by Fix comments' position #921)./ocaml-protoc.1.2.0/src/compilerlib/pb_codegen_backend.ml: formatting did not stabilize after 10 iterations.
./haxe.3.4.7/libs/ilib/ilMeta.mli: formatting did not stabilize after 10 iterations.
(issue Bug: Unstable comment in variant decl #989)./bsbnative.1.9.4/jscomp/core/js_main.ml: formatting did not stabilize after 10 iterations.
(fixed by Fix comments' position #921)./bsbnative.1.9.4/jscomp/test/ocaml_proto_test.ml: formatting did not stabilize after 10 iterations.
./frama-c-base.15.0/src/libraries/utils/utf8_logic.ml: formatting did not stabilize after 10 iterations.
./frama-c.19.0/src/libraries/utils/utf8_logic.ml: formatting did not stabilize after 10 iterations.
./KaSim.4.0.0/KaSa_rep/lib/full/superargTk.ml: formatting did not stabilize after 10 iterations.
(fixed by Fix comments' position #921)(check the box then the issue has been identified and created or fixed)
The text was updated successfully, but these errors were encountered: