Skip to content
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

Remove/rename the Linearizer trait #1663

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Remove/rename the Linearizer trait #1663

merged 2 commits into from
Oct 3, 2023

Conversation

jneem
Copy link
Member

@jneem jneem commented Oct 2, 2023

Renames Linearizer to TypeVisitor and simplifies the interface. (The interface may even be too simple now, but it's what nls currently wants.)

@jneem jneem requested review from yannham and vkleen October 2, 2023 22:10
@github-actions github-actions bot temporarily deployed to pull request October 2, 2023 22:15 Inactive
@jneem jneem requested a review from Radvendii October 2, 2023 22:16
Copy link
Member

@yannham yannham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: it's a bit confusing to call something TypeVisitor while it's actually visiting terms (because XXXVisitor is usually used for the visitor trait of XXX). Possible suggestions:

  • just call it TermVisitor
  • call it TypecheckVisitor or something like that where the first word isn't a datastructure which could have a visitor trait

@jneem
Copy link
Member Author

jneem commented Oct 3, 2023

I went with TypecheckVisitor because I thought that TermVisitor sounds like what traverse_ref does...

@jneem jneem enabled auto-merge October 3, 2023 21:37
@github-actions github-actions bot temporarily deployed to pull request October 3, 2023 21:40 Inactive
@jneem jneem added this pull request to the merge queue Oct 3, 2023
Merged via the queue into master with commit 09e51fb Oct 3, 2023
5 checks passed
@jneem jneem deleted the non-linear-part-2 branch October 3, 2023 22:43
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.

None yet

2 participants