summaryrefslogtreecommitdiff
path: root/src/errors/InvalidAlterantiveType.txt
diff options
context:
space:
mode:
authorNadrieril2019-03-01 17:28:19 +0100
committerNadrieril2019-03-01 17:28:19 +0100
commite5d9aee00b0c775df1d8e2d8819aeb80dffa73c2 (patch)
treee763a24a0d635048232e72e167ca37eafec69369 /src/errors/InvalidAlterantiveType.txt
parent8a2b7536902831079eddd7b00291b718f5dd7186 (diff)
Split abnf_to_pest and dhall into their own crates
Diffstat (limited to 'src/errors/InvalidAlterantiveType.txt')
-rw-r--r--src/errors/InvalidAlterantiveType.txt49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/errors/InvalidAlterantiveType.txt b/src/errors/InvalidAlterantiveType.txt
deleted file mode 100644
index f5dadef..0000000
--- a/src/errors/InvalidAlterantiveType.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Explanation: Every union literal begins by selecting one alternative and
-specifying the value for that alternative, like this:
-
-
- Select the ❰Left❱ alternative, whose value is ❰True❱
- ⇩
- ┌──────────────────────────────────┐
- │ < Left = True, Right : Natural > │ A union literal with two alternatives
- └──────────────────────────────────┘
-
-
-However, this value must be a term and not a type. For example, the following
-values are $_NOT valid:
-
-
- ┌──────────────────────────────────┐
- │ < Left = Text, Right : Natural > │ Invalid union literal
- └──────────────────────────────────┘
- ⇧
- This is a type and not a term
-
-
- ┌───────────────────────────────┐
- │ < Left = Type, Right : Type > │ Invalid union type
- └───────────────────────────────┘
- ⇧
- This is a kind and not a term
-
-
-You provided a union literal with an alternative named:
-
-↳ $txt0
-
-... whose value is:
-
-↳ $txt1
-
-... which is not a term
-
-Some common reasons why you might get this error:
-
-● You accidentally typed ❰=❱ instead of ❰:❱ for a union literal with one
- alternative:
-
- ┌────────────────────┐
- │ < Example = Text > │
- └────────────────────┘
- ⇧
- This could be ❰:❱ instead