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

[asl][reference] Synchronize reference for #1140 #1142

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

Roman-Manevich
Copy link
Collaborator

Update TypingRule.ControlFlowFromStmt in synchrony with PR #1140.

Copy link
Collaborator

@HadrienRenaud HadrienRenaud left a comment

Choose a reason for hiding this comment

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

This is not what has been implemented in #1140, in particular, the default case when otherwise is None is different.

We could argue that the two are equivalent, or edit one or the other, but we can't merge as is.

What should we edit? The code or the documentation?

\item applying $\controlflowfromstmt$ to $\vbody$ yields $\vctrlflow$.
\item applying $\controlflowfromstmt$ to $\vbody$ yields $\vcf_\vbody$;
\item \Proseeqdef{$\vcf_\otherwise$}{$\controlflowfromstmt(\vo)$ if $\votherwiseopt = \langle\vo\rangle$
and $\assertednotinterrupt$ if $\votherwiseopt$ is $\None$};
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not what is implemented, maybe it is equivalent, but in that case we have to argue that it is equivalent etc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right. I think it is equivalent though.

ASL Reference fix + Stdlib arguments renaming
@Roman-Manevich Roman-Manevich force-pushed the asl-reference-synch-for-1140 branch from d42126d to 9de1f43 Compare January 24, 2025 18:29
Copy link
Collaborator

@HadrienRenaud HadrienRenaud left a comment

Choose a reason for hiding this comment

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

LGTM

@Roman-Manevich Roman-Manevich merged commit 0af0672 into master Jan 24, 2025
3 checks passed
@Roman-Manevich Roman-Manevich deleted the asl-reference-synch-for-1140 branch January 24, 2025 18:39
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.

2 participants