]> gitweb.factorcode.org Git - factor.git/commitdiff
stack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 14 Jan 2010 18:51:36 +0000 (07:51 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 14 Jan 2010 18:51:36 +0000 (07:51 +1300)
basis/stack-checker/errors/prettyprint/prettyprint.factor

index e577f0fe69fa64e2fdaa98775a61dcbb9724f8d0..433c11d34c80125e165455aa2e7acf4b2d2ceda8 100644 (file)
@@ -15,7 +15,7 @@ M: unbalanced-branches-error summary
 
 M: unbalanced-branches-error error.
     dup summary print
-    [ quots>> ] [ branches>> [ length "x" <array> <effect> ] { } assoc>map ] bi zip
+    [ quots>> ] [ branches>> [ length [ "x" <array> ] bi@ <effect> ] { } assoc>map ] bi zip
     [ [ first pprint-short bl ] [ second effect>string print ] bi ] each ;
 
 M: too-many->r summary