Skip to content

-dsource: fix raw literal escape (#13391)#13551

Merged
gasche merged 1 commit into
ocaml:trunkfrom
Octachron:fix_raw_literal_escape
Oct 31, 2024
Merged

-dsource: fix raw literal escape (#13391)#13551
gasche merged 1 commit into
ocaml:trunkfrom
Octachron:fix_raw_literal_escape

Conversation

@Octachron

Copy link
Copy Markdown
Member

Close #13391 by making sure that escaped raw literal escape in value constraints

let f: type \#while \#if \#let . \#if -> \#let -> \#while = ...

are escaped correctly by -dsource.

in locally abstract type inside a value constraint:

    let f: type \#while. ...
@Octachron
Octachron force-pushed the fix_raw_literal_escape branch from fec103c to a86d5cc Compare October 30, 2024 15:45
@gasche
gasche merged commit 13020d8 into ocaml:trunk Oct 31, 2024
Octachron pushed a commit that referenced this pull request Oct 31, 2024
-dsource: fix raw literal escape (#13391)
(cherry picked from commit 13020d8)
@Octachron

Copy link
Copy Markdown
Member Author

Cherry-picked to 5.3 as b9f4e27 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unescaped raw identifier in pretty-printing of locally-abstract univars

3 participants