diff options
| author | Alasdair Armstrong | 2017-06-29 18:34:51 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-06-29 18:34:51 +0100 |
| commit | 4c712104db3a178fd8316a2bb36f2f241f249d2d (patch) | |
| tree | 700dfaff11c4f56afed699d001262fc4d288c5e4 /test | |
| parent | fca7f935547509f187be90c00e0be818fcacc2f4 (diff) | |
Created prelude.sail for initial typing environment
Other things:
* Cleaned up several files a bit
* Fixed a bug in the parser where (deinfix |) got parsed as (definfix ||)
* Turned of the irritating auto-indent in sail-mode.el
Diffstat (limited to 'test')
| -rw-r--r-- | test/typecheck/pass/vector_subrange_gen.sail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typecheck/pass/vector_subrange_gen.sail b/test/typecheck/pass/vector_subrange_gen.sail index 5c48db77..8857bd18 100644 --- a/test/typecheck/pass/vector_subrange_gen.sail +++ b/test/typecheck/pass/vector_subrange_gen.sail @@ -11,7 +11,7 @@ val forall Nat 'n, Nat 'm. ([:'n:], [:'m:]) -> [:'n - 'm:] effect pure minus default Order inc val forall 'n, 'm, 'n >= 5. bit['n] -> bit['n - 2] effect pure test - + function forall 'n, 'n >= 5. bit['n - 2] test v = { z := vector_subrange(v, 0, minus(sizeof 'n, 2)); |
