summaryrefslogtreecommitdiff
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
commitab2b3d31f0236cf5dec6c5fccd4de6b97ca37851 (patch)
tree284e45d1278dd22ad46b658933da8e24019a8ffc /tests/tupleError.ur
parent00786579bad72b41600a54441dbfc09625ada1ea (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