diff options
author | Adam Chlipala <adamc@csail.mit.edu> | 2017-07-12 16:23:51 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@csail.mit.edu> | 2017-07-12 16:23:51 -0400 |
commit | 6d9522c001574db729262073cadb96c75f0f7c44 (patch) | |
tree | 2f3cb126d919b552b7cabefbc88be1abcbd45689 /tests/topLevelPattern.ur | |
parent | 979ad6b8246e50d5c1f685afd0bd41ec0298696b (diff) |
Allow inexhaustive patterns for lefthand sides of top-level 'val' declarations
Diffstat (limited to 'tests/topLevelPattern.ur')
-rw-r--r-- | tests/topLevelPattern.ur | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/topLevelPattern.ur b/tests/topLevelPattern.ur new file mode 100644 index 00000000..e272c30c --- /dev/null +++ b/tests/topLevelPattern.ur @@ -0,0 +1,5 @@ +val (x, y) = (1, 2) + +fun main () : transaction page = return <xml> + {[x]} + {[y]} = {[x + y]} +</xml> |