-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
305 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type a = {a: int} | ||
// ^xfm | ||
|
||
type rec t = A | B | ||
// ^xfm | ||
and e = C | ||
@unboxed type name = Name(string) | ||
// ^xfm | ||
let a = 1 | ||
// ^xfm | ||
let inc = x => x + 1 | ||
// ^xfm | ||
module T = { | ||
// ^xfm | ||
let b = 1 | ||
// ^xfm | ||
} | ||
@module("path") | ||
external dirname: string => string = "dirname" | ||
//^xfm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
Xform not_compiled/DocTemplate.res 3:3 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 3, "character": 0}, "end": {"line": 5, "character": 9}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
type rec t = A | B | ||
// ^xfm | ||
and e = C | ||
|
||
Xform not_compiled/DocTemplate.res 6:15 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 6, "character": 0}, "end": {"line": 6, "character": 33}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
@unboxed | ||
type name = Name(string) | ||
|
||
Xform not_compiled/DocTemplate.res 8:4 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 8, "character": 0}, "end": {"line": 8, "character": 9}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
let a = 1 | ||
|
||
Xform not_compiled/DocTemplate.res 10:4 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 10, "character": 0}, "end": {"line": 10, "character": 20}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
let inc = x => x + 1 | ||
|
||
Xform not_compiled/DocTemplate.res 12:7 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 12, "character": 0}, "end": {"line": 16, "character": 1}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
module T = { | ||
// ^xfm | ||
let b = 1 | ||
// ^xfm | ||
} | ||
|
||
Xform not_compiled/DocTemplate.res 14:6 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 14, "character": 2}, "end": {"line": 14, "character": 11}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
let b = 1 | ||
|
||
Xform not_compiled/DocTemplate.res 18:2 | ||
can't find module DocTemplate | ||
Hit: Add Documentation template | ||
{"start": {"line": 17, "character": 0}, "end": {"line": 18, "character": 46}} | ||
newText: | ||
<--here | ||
/** | ||
|
||
*/ | ||
@module("path") | ||
external dirname: string => string = "dirname" | ||
|
Oops, something went wrong.