Skip to content

Commit 845af5e

Browse files
committed
Add issue reproducer as test
1 parent 664931b commit 845af5e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

plugins/hls-explicit-record-fields-plugin/test/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ test = testGroup "explicit-fields"
3636
, mkTestNoAction "Puns" "Puns" 12 10 12 31
3737
, mkTestNoAction "Infix" "Infix" 11 11 11 31
3838
, mkTestNoAction "Prefix" "Prefix" 10 11 10 28
39+
, mkTestNoAction "PartiallyAppliedCon" "PartiallyAppliedCon" 7 8 7 12
3940
, mkTest "PolymorphicRecordConstruction" "PolymorphicRecordConstruction" 15 5 15 15
4041
]
4142
, testGroup "inlay hints"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{-# LANGUAGE Haskell2010 #-}
2+
3+
module PartiallyAppliedCon where
4+
5+
data T = MkT { fa :: Int, fb :: Char }
6+
7+
foo :: Int -> Char -> T
8+
foo x = MkT x

0 commit comments

Comments
 (0)