We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd8ffc commit 089efc6Copy full SHA for 089efc6
plugins/hls-explicit-record-fields-plugin/test/Main.hs
@@ -36,6 +36,7 @@ test = testGroup "explicit-fields"
36
, mkTestNoAction "Puns" "Puns" 12 10 12 31
37
, mkTestNoAction "Infix" "Infix" 11 11 11 31
38
, mkTestNoAction "Prefix" "Prefix" 10 11 10 28
39
+ , mkTestNoAction "PartiallyAppliedCon" "PartiallyAppliedCon" 7 8 7 12
40
, mkTest "PolymorphicRecordConstruction" "PolymorphicRecordConstruction" 15 5 15 15
41
]
42
, testGroup "inlay hints"
plugins/hls-explicit-record-fields-plugin/test/testdata/noop/PartiallyAppliedCon.hs
@@ -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