From 6d9522c001574db729262073cadb96c75f0f7c44 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Wed, 12 Jul 2017 16:23:51 -0400 Subject: Allow inexhaustive patterns for lefthand sides of top-level 'val' declarations --- tests/topLevelPattern.ur | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/topLevelPattern.ur (limited to 'tests') 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 + {[x]} + {[y]} = {[x + y]} + -- cgit v1.2.3