Adjacent Junks are incorrectly merged
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- localization
Direzione di ricerca
Start by comparing the syntax parser's Junk handling with fluent.syntax/tests/syntax/fixtures_reference/comments.ftl and fluent.syntax/tests/syntax/fixtures_structure/unclosed.ftl. Run the syntax tests and adjust the boundary behavior so unclosed.ftl produces 4 Junks while the comments fixture continues to split correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Per upstream issue 296, each Junk should end whenever a new line begins with a single character that could be the start of a new Entry (i.e. ^[-#a-zA-Z]). This is working correctly only in the case of potential Comment entries (see comments.ftl where the leading # starts a new Junk) but is incorrect for all other cases such as possible Messages and Terms (see unclosed.ftl which should result in 4 Junks but instead merges 6 junk_lines into 1 Junk).
Note the JavaScript implementation has the same bug.
- Lingua principale
- Python
- Stelle
- 245
- Fork
- 30
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di projectfluent/python-fluent
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
projectfluent/python-fluent#221 ·
-
Outdated releases Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
projectfluent/python-fluent#219 · 1 commento · 6 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
projectfluent/python-fluent#172 · 1 reazione ·
-
bug fluent.runtime help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
projectfluent/python-fluent#170 · 1 commento ·
-
bug fluent.runtime help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
projectfluent/python-fluent#169 · 3 reazioni ·
Tutte le issue di projectfluent/python-fluent
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100