dotnet / dotnet/fsharp

Wrong indentation in list comprehension leads to unhelpful error message

Aperta
#4,232 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Area-Diagnostics Feature Improvement
Lingua principale
F#
Stelle
4.3k
Fork
876
Merge medio
4g 8h
PR unite (30g)
133

Descrizione

In larger elmish views we see newcomers often messup indentation. Unfortunately the compiler is not helpful. This is one case of it:

let div _ _ = 1

let view model dispatch =
[
div [] []
div [] []
div [] []
div [] []
]

![image](https://user-images.githubusercontent.com/57396/35192091-31735ee8-fe8b-11e7-8eb3-1f647e52aa16.png)

(related to #4228)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.