Skip to content

Conversation

Leonidas-from-XIV
Copy link
Collaborator

If we need to adjust locations on Slang expressions (as we need in the copy rules PR) then we need an API to apply these API changes.

Matching some other functions, this PR implements the map_loc function that recursively maps locations.

Signed-off-by: Marek Kubica <marek@tarides.com>
Signed-off-by: Marek Kubica <marek@tarides.com>
@Leonidas-from-XIV
Copy link
Collaborator Author

Given this is approved and the CI breakage is due to Github today and I reran it 6 times without success I'm just merging it to be able to progress. It passes the tests on my machine and on the Ubuntu workers.

@Leonidas-from-XIV Leonidas-from-XIV merged commit 0fb5861 into ocaml:main Oct 1, 2025
127 of 151 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the map-loc branch October 1, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants