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 emit-event shim #1168

Merged
merged 2 commits into from
Apr 12, 2023
Merged

remove emit-event shim #1168

merged 2 commits into from
Apr 12, 2023

Conversation

rsoeldner
Copy link
Member

No description provided.

@@ -1654,7 +1654,7 @@ prettyTerm ty = \case
MkPactGuard name -> parensSep ["create-pact-guard", pretty name]
MkUserGuard g t -> parensSep ["create-user-guard", pretty g, pretty t]
MkModuleGuard name -> parensSep ["create-module-guard", pretty name]
MkCapabilityGuard (Capability _ n) as isPact -> parensSep
MkCapabilityGuard (Capability _ n _) as isPact -> parensSep
Copy link
Contributor

Choose a reason for hiding this comment

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

Does CapAnnot not want to be included in the pretty-printed Capability?

Copy link
Member Author

@rsoeldner rsoeldner Mar 23, 2023

Choose a reason for hiding this comment

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

If a cap is @managed or @event makes no difference here. I think the name should be enough. @jmcardon what do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think a cap being managed should display somehow. Event is something that will someday be replaced by defevent, I believe.

Copy link
Contributor

@imalsogreg imalsogreg left a comment

Choose a reason for hiding this comment

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

It looks great to me.

@rsoeldner rsoeldner merged commit f5cc746 into master Apr 12, 2023
@rsoeldner rsoeldner deleted the rsoeldner/remove-emit-event branch April 12, 2023 05:59
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.

3 participants