-
Notifications
You must be signed in to change notification settings - Fork 56
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
72 changed files
with
28 additions
and
3,775 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,17 @@ | ||
|
||
Syntax error! | ||
not_compiled/Diagnostics.res:1:5 | ||
|
||
1 │ let = 1 + 1.0 | ||
2 │ let add = =2 | ||
3 │ lett a = 2 | ||
|
||
I was expecting a name for this let-binding. Example: `let message = "hello"` | ||
|
||
|
||
Syntax error! | ||
not_compiled/Diagnostics.res:2:10-11 | ||
|
||
1 │ let = 1 + 1.0 | ||
2 │ let add = =2 | ||
3 │ lett a = 2 | ||
4 │ | ||
|
||
This let-binding misses an expression | ||
|
||
|
||
Syntax error! | ||
not_compiled/Diagnostics.res:3:5-6 | ||
|
||
1 │ let = 1 + 1.0 | ||
2 │ let add = =2 | ||
3 │ lett a = 2 | ||
4 │ | ||
5 │ //^dia | ||
|
||
consecutive statements on a line must be separated by ';' or a newline | ||
[{ | ||
"range": {"start": {"line": 2, "character": 4}, "end": {"line": 2, "character": 6}}, | ||
"message": "consecutive statements on a line must be separated by ';' or a newline", | ||
"severity": 1, | ||
"source": "ReScript" | ||
}, { | ||
"range": {"start": {"line": 1, "character": 9}, "end": {"line": 1, "character": 11}}, | ||
"message": "This let-binding misses an expression", | ||
"severity": 1, | ||
"source": "ReScript" | ||
}, { | ||
"range": {"start": {"line": 0, "character": 4}, "end": {"line": 0, "character": 5}}, | ||
"message": "I was expecting a name for this let-binding. Example: `let message = \"hello\"`", | ||
"severity": 1, | ||
"source": "ReScript" | ||
}] | ||
|
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
open! ShadowedBelt | ||
|
||
let m = List.map | ||
// ^hov | ||
Hover src/Auto.res 2:13 | ||
{"contents": {"kind": "markdown", "value": "```rescript\n(list<'a>, 'a => 'b) => list<'b>\n```"}} | ||
|
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
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 |
---|---|---|
@@ -1,15 +0,0 @@ | ||
type status = On | Off | ||
|
||
@@jsxConfig({version: 4, mode: "automatic"}) | ||
type props<'status, 'name> = {status: 'status, name: 'name} | ||
|
||
let make = ({status, name, _}: props<status, string>) => { | ||
ignore(status) | ||
ignore(name) | ||
React.null | ||
} | ||
let make = { | ||
let \"CompletableComponent" = (props: props<_>) => make(props) | ||
|
||
\"CompletableComponent" | ||
} | ||
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
Oops, something went wrong.