[erlang-patches] Fix binary printing for depth 1

Andrew Thompson andrew@REDACTED
Wed Sep 19 23:23:27 CEST 2012


A case clause ordering problem is causing the empty binary to be
printed as <<...>> rather than the correct <<>> when using ~W with a
depth of 1. Add new tests to verify correct behaviour.

git fetch git://github.com/Vagabond/otp.git adt-binary-depth-printing

https://github.com/Vagabond/otp/compare/adt-binary-depth-printing
https://github.com/Vagabond/otp/compare/adt-binary-depth-printing.patch

See also this thread:

http://erlang.org/pipermail/erlang-questions/2012-September/069043.html

Andrew



More information about the erlang-patches mailing list