summaryrefslogtreecommitdiff
path: root/language/l2.lem
diff options
context:
space:
mode:
authorKathy Gray2014-03-26 15:05:11 +0000
committerKathy Gray2014-03-26 15:05:11 +0000
commit9549b13972f5c3173bc7d11ea1b62b490f673166 (patch)
tree79cdaae2139bd76429339e882b830d2f9c5f5124 /language/l2.lem
parent0689a3347e02d92b821ff2a29210681a001efd51 (diff)
More steps towards solving and using constraint information
Diffstat (limited to 'language/l2.lem')
-rw-r--r--language/l2.lem2
1 files changed, 2 insertions, 0 deletions
diff --git a/language/l2.lem b/language/l2.lem
index 2fd685f4..0c94e399 100644
--- a/language/l2.lem
+++ b/language/l2.lem
@@ -240,6 +240,8 @@ type exp_aux 'a = (* Expression *)
| E_case of (exp 'a) * list (pexp 'a) (* pattern matching *)
| E_let of (letbind 'a) * (exp 'a) (* let expression *)
| E_assign of (lexp 'a) * (exp 'a) (* imperative assignment *)
+ | E_internal_cast of annot 'a * (exp 'a) (* This is an internal cast, generated during type checking that will resolve into a syntactic cast after *)
+ | E_internal_exp of annot 'a (* This is an internal use of an nexp (in the annot) for passing length information after resolution of constraints *)
and exp 'a =
| E_aux of (exp_aux 'a) * annot 'a