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
commit64be34d44a0de6a4710b3bff9feb087df7dcc70c (patch)
tree6640bbfe47f230ce0baa489721bf8dbcee8b0c17 /tests/ambig.ur
parent3b4612facbbf08e12ff983f315d654eb647f7afe (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}