You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[General]: The manual's try-catch grammar uses with, but every try statement uses catch #104
The specification uses catch, not with, and binds the exception as identifier : type. All 18 try statements in the sources have this form, e.g. Handle_Exception:
try
…
catch
when e : Exception_Info =>
…
when e : Instruction_Ended =>
// do nothing
endtry;
The manual's pattern grammar (ISA_LRM, "Patterns", irrefutable and refutable
patterns) has no identifier : type form, so when e : Exception_Info is not a pattern. reading-specs.md gives a
third form, try <statements> catch x {when <identifier> : <type> => <statements>} [otherwise => <statements>] endtry;, with an x after catch that no source uses.
Activity