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

Small fixes on formal spec overview/examples #204

Merged
merged 2 commits into from
Feb 17, 2022

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Feb 16, 2022

  • Removes a link next to [1]. The link is also in the footnote so it's
    not strictly necessary, and adding a link right next to [1] makes
    [] disappear, so it appears as just 1, which isn't probably what
    the author intended.
  • Both of throw/catch x and throw/catch $x are being used. Unified
    them into throw/catch $x.
  • Fixed a location of $label2 in a test.
  • Removes _m from catch and caught administrative instructions in
    Exceptions-formal-examples.md. They were only removed in the overview.
  • Removes trailing whitespaces

@aheejin aheejin requested a review from ioannad February 16, 2022 10:04
@@ -153,11 +153,11 @@ Use the trivial throw context `T` again, this time to match the throw to the `ca
Location of a rethrown exception. Let `x, y, z` be tag indices of tags with type `[t_x]→[]`, `[t_y]→[]`, and `[t_z]→[]` respectively. Let `val_p : t_p` for every `p` among `x, y, z`.

```
try
try $label2
Copy link
Member Author

Choose a reason for hiding this comment

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

I think$label2 should be here, given that it points to this try's corresponding catch.. No?

- Removes a link next to `[1]`. The link is also in the footnote so it's
  not strictly necessary, and adding a link right next to `[1]` makes
  `[]` disappear, so it appears as just `1`, which isn't probably what
  the author intended.
- Both of `throw/catch x` and `throw/catch $x` are being used. Unified
  them into `throw/catch $x`.
- Fixes a location of `$label2` in a test.
- Removes `_m` from `catch` and `caught` administrative instructions in
  Exceptions-formal-examples.md. They were only removed in the overview.
Copy link
Collaborator

@ioannad ioannad left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you, sorry I forgot to update this file!

@ioannad ioannad merged commit e9f4732 into WebAssembly:main Feb 17, 2022
@aheejin aheejin deleted the formal_md_fix branch February 17, 2022 20:36
@aheejin
Copy link
Member Author

aheejin commented Feb 17, 2022

Next time I'd appreciate if let me merge my own PRs! :) (Not a big deal for sure, but I don't usually use commit messages provided by Github that's the list of all commits within the PR.)

@ioannad
Copy link
Collaborator

ioannad commented Feb 18, 2022

Apologies, will do so from now on.

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