Closed
Description
Your environment
Which OS do you use? macOS
Which version of GHC do you use and how did you install it? 9.6.5, from ghcup
Which LSP client (editor/plugin) do you use? Sublime Text
Which version of HLS do you use and how did you install it? 2.9.0.1, from ghcup.
Steps to reproduce
Put
{-# LANGUAGE PatternSynonyms #-}
module Lib () where
pattern x :+ y = (x, y)
and run code action "Export :+"
Expected behaviour
pattern (:+)
is to be added to the export list.
Actual behaviour
pattern :+
is added to the export list, which is a parse error.