"Handling an exception" - "Attention" block
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
リンク先の Learn.Ada の例外に関する章から始め、「Handling an exception」の例とその「Attention」ブロックを見つけてください。説明の文言を例の handler のスコープと比較し、宣言ブロックで発生する例外を正確に説明するように修正してください。この章は、コードが示す動作と明確に一致する必要があります。
索引モデルが issue の本文から書いたものです。
説明
The "Attention" block states that exceptions raised in declarative sections "are not caught by the handlers of that block." Based on the descriptions provided and the example code, there is no handler applied to the declarative section, so this makes sense. The handler is applied to a call in the procedure body. Had Dangerous been called in the procedure body, with the handler applied, the exception would have been caught.
Would it be more appropriate to say: exception handlers cannot be applied to anything in the declaration block (and thus, exceptions raised there would not be caught)? It seems like this might be the intent, but that's not what is stated here.
REF: Learn.ada link
- 主要言語
- Ada
- スター
- 117
- フォーク
- 49
- 平均マージ
- 44分
- マージ済み PR(30日)
- 8
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AdaCore/learn のほかの issue
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
Inconsistent content between "Verification Method" and "Notes"再び着手できるかも @frank-at-adacore が 871 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
Docs: "Work with Codex from anywhere" page still claims Windows mobile support is "coming soon"オープンapp documentation remote windows-os
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
librepods-org/librepods#802 ·
メンテナーはふだん 1 日以内に返信
-
area:lint-tooling found-by:critic kind:docs-drift
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
InauguralSystems/EigenScript#1335 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
technical-improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信