PR# 17609 Pretty printer does not put each feature in export list on separate line
Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2011/06/01
Class: Bug
Severity: Non-critical
Number: 17609
Release: 6.8.86596
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; SunOS sun4u; rv:2.0) Gecko/20100101 Firefox/4.0
Solaris 10 on SPARC
Synopsis: Pretty printer does not put each feature in export list on separate line
Description
The pretty printer puts each feature (or feature pair, for a rename clause) in an inheritance sub-clause on a new line, except for the Export clause. For Export, all features are listed on one line: export {NONE} a, b, c, d, e end This seems inconsistent, so I thought I would point it out. It seems to me that ultimately, some kind of control over maximum line length (and possibly other options) may need to be provided to create a really good pretty printer. What may really be desirable is smart line wrapping and indentation.
To Reproduce
Run ec -pretty on attached class.