Skip to content

EPA: n-plus-k patterns do not capture the "+" location

The file

{-# LANGUAGE NPlusKPatterns #-}
singleline :: Int
singleline (n + 1) = n

Generates a ParsedSource with no record of the + in it.

Detected against ghc-9.2 branch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information