ocaml / ocaml

The core OCaml system: compilers, runtime system, base libraries
https://ocaml.org
Other
5.19k stars 1.06k forks source link

minor 5.2 patches for pretty-printing #13127

Closed chetmurthy closed 2 weeks ago

chetmurthy commented 2 weeks ago
  1. two fixes for raw identifiers

  2. pretty-printing for local module open in types

chetmurthy commented 2 weeks ago

These are such trivial changes, I don't think it needs a Changes entry, does it?

chetmurthy commented 2 weeks ago

The Appveyor build failed with some "mingw64" error. Don't think it's related to my changes.

MisterDA commented 2 weeks ago

The Appveyor build failed with some "mingw64" error. Don't think it's related to my changes.

It's not related to your changes. The (temporary) patches of #13069 have not been picked up in the 5.2 branch.

gasche commented 2 weeks ago

With apologies for being a bother:

Octachron commented 2 weeks ago

Since raw identifiers were introduced in 5.2 , a good compromise could be to add the current PR number to the raw identifier entry in the changelog.

Octachron commented 2 weeks ago

@chetmurthy , could you add tests for your fixes in testsuite/tests/parsetree/source.ml ?

chetmurthy commented 2 weeks ago

closing in favor of (rebased on trunk) https://github.com/ocaml/ocaml/pull/13130