diff options
| author | Kathy Gray | 2014-02-07 12:46:56 +0000 |
|---|---|---|
| committer | Kathy Gray | 2014-02-07 12:46:56 +0000 |
| commit | 7eb6dea6255eb0dbddaca6309af4f9fd1755041b (patch) | |
| tree | caeec3011679719b7175bd29e72fd698be851659 /src/test | |
| parent | 062eadd4238692c2f5b486d0febcf05c7b48ca83 (diff) | |
Correct variable-name bug that was throwing away type checking coercions and type annotations
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/test1.sail | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test1.sail b/src/test/test1.sail index c603bb65..da9e43fb 100644 --- a/src/test/test1.sail +++ b/src/test/test1.sail @@ -29,6 +29,8 @@ function clause f ( C (a) ) = C(a) end ast end f +function unit a (bit) b = if b then () else () + function bit sw s = switch s { case 0 -> bitzero } function bit main _ = {ignore(sw(0)); v1[0] } |
