-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing errors placeholders (#351)
- Loading branch information
Showing
12 changed files
with
255 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# `CannotDefinePrimModules` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module Prim where | ||
``` | ||
|
||
```purescript | ||
module Prim.ShortFailingExample where | ||
``` | ||
|
||
## Cause | ||
|
||
The Prim namespace is reserved by the compiler. | ||
|
||
## Fix | ||
|
||
- Rename the module to move it outside the Prim namespace: | ||
|
||
```diff | ||
-module Prim.ShortFailingExample where | ||
+module ShortFailingExample where | ||
``` |
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,21 @@ | ||
# `CycleInTypeClassDeclaration` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `DuplicateInstance` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `DuplicateTypeClass` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `ErrorParsingCSTModule` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `ExpectedTypeConstructor` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `ImplicitQualifiedImportReExport` Warning | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this warning. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `InvalidDerivedInstance` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `MissingKindDeclaration` Warning | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this warning. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `MissingNewtypeSuperclassInstance` Warning | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this warning. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `UnusableDeclaration` Error | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this error. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |
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,21 @@ | ||
# `UnverifiableSuperclassInstance` Warning | ||
|
||
## Example | ||
|
||
```purescript | ||
module ShortFailingExample where | ||
... | ||
``` | ||
|
||
## Cause | ||
|
||
Explain why a user might see this warning. | ||
|
||
## Fix | ||
|
||
- Suggest possible solutions. | ||
|
||
## Notes | ||
|
||
- Additional notes. |