summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-08-02 17:36:18 +0100
committerAlasdair Armstrong2018-08-02 17:36:18 +0100
commit3be11ede92d21a1565474e024d8035b904bcf055 (patch)
tree9addbec7db818e43a94b0c1dafffee448bf166e6 /language
parent1479ae359fd3afebf9c3dfb6e58a77254e8140ea (diff)
Start working on a solution for correctly monomorphising polymorphic variant types
Diffstat (limited to 'language')
-rw-r--r--language/bytecode.ott2
1 files changed, 2 insertions, 0 deletions
diff --git a/language/bytecode.ott b/language/bytecode.ott
index 16492716..6488dd0c 100644
--- a/language/bytecode.ott
+++ b/language/bytecode.ott
@@ -60,6 +60,7 @@ fragment :: 'F_' ::=
| string ( fragment0 , ... , fragmentn ) :: :: call
| fragment . string :: :: field
| string :: :: raw
+ | poly fragment :: :: poly
% init / clear -> create / kill
@@ -96,6 +97,7 @@ ctyp :: 'CT_' ::=
| list ( ctyp ) :: :: list
% A vector type for non-bit vectors, and a list type.
| ref ( ctyp ) :: :: ref
+ | poly :: :: poly
cval :: 'CV_' ::=
{{ ocaml fragment * ctyp }}