dotnet / dotnet/command-line-api

Response file parsing behavior change

Aperta
#1,855 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
3.7k
Fork
428
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Between `2.0.0-beta3.22114.1` (good) and `2.0.0-beta4.22272.1` (bad) the parsing behavior for response files has changed.

Notably, ClangSharp (https://github.com/dotnet/clangsharp) expects the following to be treated as a single argument: `Module32First(HANDLE, LPMODULEENTRY32):BOOL=@Module32FirstA`

However, starting with the newer version it is now interepreted as two arguments:
* `Module32First(HANDLE,`
* ` LPMODULEENTRY32):BOOL=@Module32FirstA`

This breaks ClangSharp and its ability to handle user input specific on the command line.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Compare response-file parsing behavior between versions 2.0.0-beta3.22114.1 and 2.0.0-beta4.22272.1, using the shown Module32First expression as the reproduction case. Done means the expression is preserved as one argument and ClangSharp can again handle the relevant user input.

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

Valutazione

Stack tecnologico
csharp
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.