Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty-printer megaticket: fix bugs which produce weird or unparseable code #1898

Closed
3 tasks
pchiusano opened this issue Apr 28, 2021 · 3 comments
Closed
3 tasks
Assignees
Labels
C2 Somewhat certain E16 Medium-high effort/time I3 High impact P1 High priority pretty-printer R3 High reach

Comments

@pchiusano
Copy link
Member

Collecting various pretty-printing bugs here. Feel free to leave a comment with other examples, or with a refinement of any of the existing examples.

  • As noted in Uncontroversial fix to rendering of tables in docs #1897 lists that span multiple lines get weird treatment. See doc.output.md for an example. I think it still parses fine but it looks pretty weird.
  • Revisit breaking of doc blocks. Again look at doc.output.md.
  • f x y should render as f x y or
f 
  x 
  y

But I think I've seen it render as:

f
x
y

which will not even parse. I don't have a minimal example of this one though, and this specific example works as expected I think.

@rlmark

This comment has been minimized.

@pchiusano pchiusano added C2 Somewhat certain E16 Medium-high effort/time I3 High impact P1 High priority R3 High reach labels Aug 19, 2021
@pchiusano pchiusano added this to the Beta milestone Aug 19, 2021
@runarorama
Copy link
Contributor

Some issues that collide with this:

@runarorama runarorama changed the title Pretty-printer mega ticket: fix bugs which produce weird or unparseable code Pretty-printer megaticket: fix bugs which produce weird or unparseable code Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C2 Somewhat certain E16 Medium-high effort/time I3 High impact P1 High priority pretty-printer R3 High reach
Projects
None yet
Development

No branches or pull requests

4 participants