You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/hls-signature-help-plugin/test/Main.hs
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -336,6 +336,19 @@ main =
336
336
|]
337
337
[ Nothing,
338
338
Just$SignatureHelp [SignatureInformation"mkBytes :: ForeignPtr Word8 -> Word -> Word -> Bytes" (Just$InR$MarkupContentMarkupKind_Markdown"\n\nCreate a Bytes datatype representing raw bytes to be embedded into the\n program/library binary.\n\n\\[Documentation\\]\\(file://.*\\)\n\n\\[Source\\]\\(file://.*\\)\n\n") (Just [ParameterInformation (InR (11,27)) (Just$InR$MarkupContentMarkupKind_Markdown"\n\nPointer to the data\n\n"), ParameterInformation (InR (31,35)) (Just$InR$MarkupContentMarkupKind_Markdown"\n\nOffset from the pointer\n\n"), ParameterInformation (InR (39,43)) (Just$InR$MarkupContentMarkupKind_Markdown"\n\nNumber of bytes\n\n")]) (Just (InL0))] (Just0) (Just (InL0))
339
+
],
340
+
mkTest
341
+
"TypeApplications"
342
+
[trimming|
343
+
f :: a -> b -> c
344
+
f = _
345
+
x = f @Int @_ 1 True
346
+
^ ^ ^ ^
347
+
|]
348
+
[ Nothing,
349
+
Nothing,
350
+
Nothing,
351
+
Just$SignatureHelp [SignatureInformation"f :: forall a b c. a -> b -> c"Nothing (Just [ParameterInformation (InR (19,20)) Nothing, ParameterInformation (InR (24,25)) Nothing]) (Just (InL0))] (Just0) (Just (InL0))
0 commit comments