summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorKathy Gray2015-07-24 11:41:18 +0100
committerKathy Gray2015-07-24 11:41:18 +0100
commite391bd3d6ade488a26b30b7fc4d5826affb5cf99 (patch)
tree3a8a967aa35c5eb3b8ec771c3b4ff0f046488252 /language
parent291eef6e74dcabc0add7f63a30213fd4ed5acbae (diff)
Begin doing better analysis on case splits over unknowns
Diffstat (limited to 'language')
-rw-r--r--language/l2.lem1
-rw-r--r--language/l2_typ.ott1
2 files changed, 2 insertions, 0 deletions
diff --git a/language/l2.lem b/language/l2.lem
index 36d64694..7ee69d5e 100644
--- a/language/l2.lem
+++ b/language/l2.lem
@@ -544,6 +544,7 @@ type tag = (* Data indicating where the identifier arises and thus information
| Tag_spec
| Tag_enum of integer
| Tag_alias
+ | Tag_unknown (* Tag to distinguish an unknown path from a non-analysis non deterministic path *)
type tinf = (* Type variables, type, and constraints, bound to an identifier *)
diff --git a/language/l2_typ.ott b/language/l2_typ.ott
index 3dec6812..54c41c4e 100644
--- a/language/l2_typ.ott
+++ b/language/l2_typ.ott
@@ -77,6 +77,7 @@ tag :: 'Tag_' ::=
| Spec :: :: spec
| Enum num :: :: enum
| Alias :: :: alias
+ | Unknown_path :: :: unknown {{ com Tag to distinguish an unknown path from a non-analysis non deterministic path}}
ne :: 'Ne_' ::=
{{ com internal numeric expressions }}