summaryrefslogtreecommitdiff
path: root/tests/ambig.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:19:00 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:19:00 -0400
commit4b449641bbffae42ee02bb6d4dc6b821f2dd9f18 (patch)
tree6640bbfe47f230ce0baa489721bf8dbcee8b0c17 /tests/ambig.ur
parentab2b3d31f0236cf5dec6c5fccd4de6b97ca37851 (diff)
Omit 'Basis.' in pretty-printing constructors, where this is unambiguous
Diffstat (limited to 'tests/ambig.ur')
-rw-r--r--tests/ambig.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ambig.ur b/tests/ambig.ur
new file mode 100644
index 00000000..f91557c4
--- /dev/null
+++ b/tests/ambig.ur
@@ -0,0 +1,4 @@
+type r = {A : int, B : int, C : float}
+type string = int
+
+val x : r = {A = 1, B = "hi", C = 2.3}