aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/tupleError.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:09:02 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:09:02 -0400
commit3b4612facbbf08e12ff983f315d654eb647f7afe (patch)
tree284e45d1278dd22ad46b658933da8e24019a8ffc /tests/tupleError.ur
parentd1898695cba6c924456d7de4d1b700072310f752 (diff)
Pretty-print tuple types using tuple syntax
Diffstat (limited to 'tests/tupleError.ur')
-rw-r--r--tests/tupleError.ur3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tupleError.ur b/tests/tupleError.ur
new file mode 100644
index 00000000..d9b21fff
--- /dev/null
+++ b/tests/tupleError.ur
@@ -0,0 +1,3 @@
+fun f (x : int * float) : string = x
+fun g (x : int * float * bool) : string = x
+fun h (x : {A : int, B : float, C : bool}) : string = x