-
-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Labels
HackathonThis issue is suitable for hackathon sessionsThis issue is suitable for hackathon sessionscomponent: ghcidetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
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.
fendor and soulomoon
Metadata
Metadata
Assignees
Labels
HackathonThis issue is suitable for hackathon sessionsThis issue is suitable for hackathon sessionscomponent: ghcidetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..