-
Notifications
You must be signed in to change notification settings - Fork 12
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
10 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Foo where | ||
|
||
foo = "bar |
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 @@ | ||
{"version":"1.0","ghcVersion":"ghc-9.10.1","span":{"file":"test/assets/lex-error/Foo.hs","start":{"line":3,"column":11},"end":{"line":3,"column":11}},"severity":"Error","code":21231,"message":["lexical error in string/character literal at character '\\n'"],"hints":[]} |
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,3 @@ | ||
test/assets/lex-error/Foo.hs:3:11: error: [GHC-21231] | ||
lexical error in string/character literal at character '\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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Foo where | ||
|
||
foo = "foo" + 23 |
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 @@ | ||
{"version":"1.0","ghcVersion":"ghc-9.10.1","span":{"file":"test/assets/multiple-error-messages/Foo.hs","start":{"line":3,"column":13},"end":{"line":3,"column":14}},"severity":"Error","code":39999,"message":["No instance for `Num String' arising from a use of `+'","In the expression: \"foo\" + 23\nIn an equation for `foo': foo = \"foo\" + 23"],"hints":[]} |
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,5 @@ | ||
test/assets/multiple-error-messages/Foo.hs:3:13: error: [GHC-39999] | ||
• No instance for `Num String' arising from a use of `+' | ||
• In the expression: "foo" + 23 | ||
In an equation for `foo': foo = "foo" + 23 | ||
|
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,3 @@ | ||
module Foo where | ||
|
||
data foo |
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 @@ | ||
{"version":"1.0","ghcVersion":"ghc-9.10.1","span":{"file":"test/assets/parse-error/Foo.hs","start":{"line":3,"column":6},"end":{"line":3,"column":9}},"severity":"Error","code":47568,"message":["Malformed head of type or class declaration: foo"],"hints":[]} |
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,3 @@ | ||
test/assets/parse-error/Foo.hs:3:6: error: [GHC-47568] | ||
Malformed head of type or class declaration: foo | ||
|