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

Improve support for anonymous records

Aperta
#167 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
105
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.