diff options
| author | Alasdair Armstrong | 2019-03-01 15:45:46 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-03-01 16:04:08 +0000 |
| commit | a8da14a23cd8dfdd5fcc527b930ed553d376d18f (patch) | |
| tree | 9ff686981294d3b8ced0d3f23d4267d88b9ba307 /lib | |
| parent | 6091ce6ef24cb8ab8b65f528f28109dd15b8cb54 (diff) | |
Make Sail more flexible with existentials in union types
Issues came up with Christophers translation of hand-written ARM into
Sail2 where we were being overly pedantic about the exact position of
existential quantifiers in constructors with multiple arguments. This
commit generalises unify_typ and type_coercion_unify to be more
flexible and support this. Should think at some point if unify_typ can
be generalised further.
This fix should fix the decode side of things, but may be some issues
with the executes that still need looking into when existentials and
multiple argument constructors are mixed.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
