From d97e6b84bfb66c141e3dfadb8edbd9afada77664 Mon Sep 17 00:00:00 2001 From: Alasdair Armstrong Date: Thu, 30 Aug 2018 15:33:18 +0100 Subject: C: Fix an issue with struct field being generalised inside polymorphic constructors Add a new printing function for debugging that recursively prints constructor types. Fix an interpreter bug when pattern matching on constructors with tuple types. --- test/c/stack_struct.expect | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/c/stack_struct.expect (limited to 'test/c/stack_struct.expect') diff --git a/test/c/stack_struct.expect b/test/c/stack_struct.expect new file mode 100644 index 00000000..67898e77 --- /dev/null +++ b/test/c/stack_struct.expect @@ -0,0 +1 @@ +q = 3 -- cgit v1.2.3