integrated-application-development / integrated-application-development/pasfmt

Improve support for anonymous records

オープン
#167 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Rust
スター
105
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

Anonymous records are not currently well-supported.

```delphi
const
A: record
B: Boolean;
C: Boolean;
end = (B: True; C: False);
```
This example is formatted correctly. Additionally, each physical line corresponds to a `LogicalLine` produced by the parser.

In almost every case, the formatting produced with an anonymous record is undesirable and inconsistent with the established style.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the anonymous-record example with pasfmt and inspect how the parser produces LogicalLine entries for each physical line. Compare the resulting formatting with the established style; done means anonymous records are formatted consistently without regressing the correctly formatted example.

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

評価

技術スタック
rust
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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