aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-04-13 17:37:01 +0000
committerDavid Robillard <d@drobilla.net>2010-04-13 17:37:01 +0000
commit58170e475a1a35685ccb180767c4f86489be5733 (patch)
treef119bfb983202d4a50ab74d5dccf0af950390511 /test
parentd15593d1cda3e7c56cccc4958d6e07f8f15c90f3 (diff)
downloadresp-58170e475a1a35685ccb180767c4f86489be5733.tar.gz
resp-58170e475a1a35685ccb180767c4f86489be5733.tar.bz2
resp-58170e475a1a35685ccb180767c4f86489be5733.zip
Better error reporting when unification fails (report both locations, and preserve locations during substitution).
git-svn-id: http://svn.drobilla.net/resp/resp@256 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'test')
-rw-r--r--test/poly.resp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/poly.resp b/test/poly.resp
index 33922e3..1857fdf 100644
--- a/test/poly.resp
+++ b/test/poly.resp
@@ -1,4 +1,4 @@
-(def eq (fn (x y) (= x y)))
+(def (eq x y) (= x y))
(eq 1 2)
(eq 1 1)