haskellfoundation / error-message-index

A community-driven collection of documentation for Haskell error messages and warnings
https://errors.haskell.org
99 stars 67 forks source link

Add documentation for GHC-21926 #514

Open FPtje opened 3 months ago

FPtje commented 3 months ago

This is the card I drew during ZuriHac! :card_index:

This is quite a simple parser error, which can be hit when PackageImports is enabled. The error itself is quite clear already: don't put version numbers and non-alphanumeric characters in a package import.

I'm not sure how one would get into the non-alphanumeric character situation (besides an honest typo), but the version one is quite a fair mistake to make.