[m-rev.] Fix a pretty_printer bug
Julien Fischer
juliensf at csse.unimelb.edu.au
Fri Aug 31 19:22:52 AEST 2007
On Fri, 24 Aug 2007, Ralph Becket wrote:
> Estimated hours taken: 1
> Branches: main
>
> library/pretty_printer.m:
> The depth limit was being prematurely decremented when formatting
> terms, causing one too few functors to be displayed before
> truncation. This bug caused everything to be printed as "..."
> at depth 1, rather than just showing the top-level functor.
>
> tests/debugger/browse_pretty.exp:
> tests/debugger/browser_test.exp3:
> tests/debugger/declarative/sort.exp:
> tests/hard_coded/test_pretty_printer.exp:
> tests/hard_coded/test_pretty_printer_defaults.exp:
> Update expected output files.
>
> tests/hard_coded/test_pretty_printer.m:
> Test the depth=1 case.
Could you please commit this.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list