Lexer errors print no source excerpt or caret (parser errors do)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- compilers, testing-qa
調査の方向性
まず、既存の eigs_print_caret_src 呼び出しに注目しながら、lexer のエラーパスと parser のエラーパスを比較します。スペースでインデントされた行とタブでインデントされた行の lexer エラーについて tests/test_lint.sh を更新し、その後 lint テストを実行します。完了条件は、通常の実行と --lint の両方で、どちらのケースも期待される抜粋と caret を固定することです。
索引モデルが issue の本文から書いたものです。
説明
Found by the builder on #1368. x is @ prints only Syntax error line 2: unexpected character '@', under both --lint and a normal run, with no N | line excerpt and no caret. Parser errors print both.
Done when
- A lexer error prints the same excerpt-and-caret pair as a parser error, through
eigs_print_caret_src. - A test in tests/test_lint.sh pins the excerpt and caret for a lexer error on a space-indented line and on a tab-indented line.
- 主要言語
- C
- スター
- 3
- フォーク
- 7
- 平均マージ
- 8時間 41分
- マージ済み PR(30日)
- 254
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InauguralSystems/EigenScript のほかの issue
-
eigenscript.h declares 8 observer functions that no longer exist対応中かも @facelessdevhack が 1 日前に担当しました。 オープンarea:observer enhancement found-by:cold-read good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
InauguralSystems/EigenScript#1781 ·
メンテナーはふだん 1 日以内に返信
-
Amalgamation compiles with warnings at -O0 (-Wreturn-type) and -O1 (-Wmaybe-uninitialized)対応中かも @facelessdevhack が 1 日前に担当しました。 オープンarea:embed bug found-by:code-review
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
InauguralSystems/EigenScript#1775 ·
メンテナーはふだん 1 日以内に返信
-
UB: (int) cast of a user double outside int range in dispatch / vm_index_is_int / flat_index_atオープンarea:runtime-vm
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
InauguralSystems/EigenScript#1748 ·
メンテナーはふだん 1 日以内に返信
-
scan_int_tokens line/col fields are untested対応中かも @facelessdevhack が 1 日前に担当しました。 オープンarea:stdlib found-by:critic kind:gate-defect
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
InauguralSystems/EigenScript#1693 ·
メンテナーはふだん 1 日以内に返信
-
area:gfx bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
InauguralSystems/EigenScript#1684 ·
メンテナーはふだん 1 日以内に返信
InauguralSystems/EigenScript の issue をすべて見る
似ている issue
-
backlog bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
EchoTools/nevr-runtime#653 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
base-files: 82_config_generate: regenerate /etc/board.json if 0-bytes / truncated after power cutオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openwrt/openwrt#25940 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
extension-modules topic-socket type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
python/cpython#159561 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信