Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

incorrect start_column & end_column

オープン
#442 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c
領域
tooling

調査の方向性

入力 - \na を使って問題を再現し、生成された Document、List、Paragraph、Text の AST の bounds を調べます。start_column と end_column が計算される箇所を追跡し、期待される bounds を示し、parser が一貫性のない階層範囲を生成しなくなったことを確認する回帰テストを追加または更新します。

索引モデルが issue の本文から書いたものです。

説明

The text: - \na

Creates the following hierarchy:

  • Document
    • List
      • Paragraph
        • Text

This AST has the following {start_line, end_line, start_column, end_column}

  • Document: {1, 2, 1, 1}
    • List: {1, 2, 1, 1}
      • Paragraph: {1, 2, 3, 1}
        • Text: {2, 2, 3, 3}

{2, 2, 3, 3} (the Text bounds) exceed the bounds for the document, and violates some assumptions which cause my application to panic.

I couldn't find any documentation which makes it clear whether this is a bug or not, but my intuition says that this is a bug.

主要言語
C
スター
2k
フォーク
703
平均マージ
2日 10時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

commonmark/cmark のほかの issue

commonmark/cmark の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。