Skip to content

Commit fc465b9

Browse files
committed
add examples of broken functionality
1 parent b592b61 commit fc465b9

9 files changed

+55
-8
lines changed

src/Demo.bs.js

-7
This file was deleted.

src/Demo.res

-1
This file was deleted.

src/DocIssues.bs.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DocIssues.res

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let _ = SomeModule.getTestInt

src/HoverIssues.bs.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/HoverIssues.res

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
type owner = {name: string}
2+
3+
type group = {
4+
id: string,
5+
name: string,
6+
owner: owner,
7+
}
8+
9+
type user = {
10+
id: string,
11+
memberOf: group,
12+
}
13+
14+
@val external user: user = "user"
15+
@val external group: group = "group"
16+
17+
let _ = user
18+
let _ = group
19+
let _ = user.memberOf
20+
let _ = user.memberOf.owner

src/SomeModule.bs.js

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SomeModule.res

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@ocaml.doc(`This is a comment that's supposed to show up when hovering the value below. Hover this binding inside of DocIssues.res.
2+
3+
Note that line breaks are displayed as \n rather than as an actual line break when hovering.
4+
5+
## That fact seems to...
6+
...break some of the markdown capabilities too.
7+
`)
8+
let getTestInt = () => 123

yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
bs-platform@*:
6+
version "8.4.2"
7+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.4.2.tgz#778dabd1dfb3bc95e0086c58dabae74e4ebdee8a"
8+
integrity sha512-9q7S4/LLV/a68CweN382NJdCCr/lOSsJR3oQYnmPK98ChfO/AdiA3lYQkQTp6T+U0I5Z5RypUAUprNstwDtMDQ==

0 commit comments

Comments
 (0)