summaryrefslogtreecommitdiff
path: root/language/l2.ml
diff options
context:
space:
mode:
authorKathy Gray2014-06-04 18:17:32 +0100
committerKathy Gray2014-06-04 18:17:32 +0100
commit68ea054c0a26fd8da8198a449fc248ed621311c5 (patch)
tree2d404f4a8f5a13ea06d7f04b3a873a170b3d5ec9 /language/l2.ml
parent978f5bc208248afe284bb9488c4e892e9315c8a2 (diff)
Fixup type coercions and overloading
Reduce the number of implicit coercions we're doing, expanding overloading and fixing up types of functions. Warning: test_power does not run as not all overloaded funcitons are implemented Warning: vector concatenation does not pretty print to sail source yet
Diffstat (limited to 'language/l2.ml')
-rw-r--r--language/l2.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/language/l2.ml b/language/l2.ml
index 3ce5cac3..76b27874 100644
--- a/language/l2.ml
+++ b/language/l2.ml
@@ -246,6 +246,7 @@ type
| E_vector_subrange of 'a exp * 'a exp * 'a exp (* subvector extraction *)
| E_vector_update of 'a exp * 'a exp * 'a exp (* vector functional update *)
| E_vector_update_subrange of 'a exp * 'a exp * 'a exp * 'a exp (* vector subrange update (with vector) *)
+ | E_vector_append of 'a exp * 'a exp (* vector concatenation *)
| E_list of ('a exp) list (* list *)
| E_cons of 'a exp * 'a exp (* cons *)
| E_record of 'a fexps (* struct *)