B-Lang-org/bsc
Better error message for -> instead of => in type signature
Aperta
#337 aperta il 19 mar 2021
good first issue
Metriche repository
- Star
- (1108 stelle)
- Metriche merge PR
- (Merge medio 17g 1h) (18 PR mergiate in 30 g)
Descrizione
We've seen all sorts of hilarity including things like:
Type error at: d
Expected type: t
Inferred type: (Prelude.IsModule m mType, Prelude.Bits t st) (ironically one of the easier-to-diagnose variants).
I suspect some sort of up-front check that classes aren't where they aren't supposed to be in a type signature would help here. Add comment