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: compiler-core/src/language_server/tests/snapshots/gleam_core__language_server__tests__hover__no_documentation_for_shared_record_field.snap
expression: "\npub type Wibble {\n Wibble(\n /// This is some documentation about the wibble field.\n wibble: Int\n )\n Wobble(\n /// This won't show up because we don't know which wibble field it is\n wibble: Int\n )\n}\n\npub fn wibble(w: Wibble) {\n w.wibble\n}\n"
3
+
expression: "\npub type Wibble {\n Wibble(\n /// This is some documentation about the wibble field.\n wibble: Int\n )\n Wobble(\n /// Here's some documentation explaining a field of Wobble\n wibble: Int\n )\n}\n\npub fn wibble(w: Wibble) {\n w.wibble\n}\n"
4
4
---
5
5
pubtypeWibble {
6
6
Wibble(
7
7
/// This is some documentation about the wibble field.
8
8
wibble:Int
9
9
)
10
10
Wobble(
11
-
/// This won't show up because we don't know which wibble field it is
11
+
/// Here's some documentation explaining a field of Wobble
12
12
wibble:Int
13
13
)
14
14
}
@@ -22,6 +22,6 @@ pub fn wibble(w: Wibble) {
22
22
----- Hovercontent -----
23
23
Scalar(
24
24
String(
25
-
"```gleam\nInt\n```\n",
25
+
"```gleam\nInt\n```\n## Wibble\n\n This is some documentation about the wibble field.\n\n## Wobble\n\n Here's some documentation explaining a field of Wobble\n",
0 commit comments