]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/stack-checker/errors/prettyprint/prettyprint.factor
Removing integers-as-sequences
[factor.git] / basis / stack-checker / errors / prettyprint / prettyprint.factor
index d008c4921d6519d9c092fa0cce8c404b1558995f..e577f0fe69fa64e2fdaa98775a61dcbb9724f8d0 100644 (file)
@@ -1,6 +1,6 @@
-! Copyright (C) 2008, 2009 Slava Pestov.
+! Copyright (C) 2008, 2010 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel prettyprint io debugger
+USING: accessors arrays kernel prettyprint io debugger
 sequences assocs stack-checker.errors summary effects ;
 IN: stack-checker.errors.prettyprint
 
@@ -15,7 +15,7 @@ M: unbalanced-branches-error summary
 
 M: unbalanced-branches-error error.
     dup summary print
-    [ quots>> ] [ branches>> [ length <effect> ] { } assoc>map ] bi zip
+    [ quots>> ] [ branches>> [ length "x" <array> <effect> ] { } assoc>map ] bi zip
     [ [ first pprint-short bl ] [ second effect>string print ] bi ] each ;
 
 M: too-many->r summary