question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Types appearing in error messages should use syntax that the user can write

See original GitHub issue

Just got U^ and wondered what it meant. Posting an issue to avoid forgetting it.

Gitter discussion: https://gitter.im/lampepfl/dotty?at=593858217503e2b7061ee7f8

@Blaisorblade: I’ve got Values of types U^ and U^ cannot be compared with == or != as a fully user-visible error @DarkDimius: We don’t clean up output from this hints so far. if you’re creative, you may also see LazyRef(...). Afaik no one has yet seen <overloaded ...> in error message. You could be the first one 😃

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
smartercommented, Jun 7, 2017

For started, it’d be helpful if we could distinguish pretty-printing for -Xprint and pretty-printing for error messages. The former is used for debugging and is free to contain all the crazy syntax we want, the latter is read by users and needs to be as clear as possible.

0reactions
DarkDimiuscommented, Jun 7, 2017

If we use a flag, I’d propose to default this flat to true in case version ends in SNAPSHOT and false otherwise. Those prints are enabled by default because they save a huge amount of time when you debug typer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Message Guidelines - Nielsen Norman Group
Established wisdom holds that good error messages are polite, precise, and constructive. The Web brings a few new guidelines: Make error messages clearly ......
Read more >
Syntax Error - an overview | ScienceDirect Topics
Syntax errors are mistakes in using the language. Examples of syntax errors are missing a comma or a quotation mark, or misspelling a...
Read more >
How to Write Good Error Messages - UX Planet
1. Be Clear And Not Ambiguous ... Write error message in clear and simple language. User should be able to understand the problem...
Read more >
Error Screens and Messages: UX Design Practices - Tubik Blog
The article shares insights on the UX design of error screens and writing error messages: learn how to smoothen the negative effect of...
Read more >
Error message - Wikipedia
An error message is information displayed when an unforeseen problem occurs, usually on a computer or other device. On modern operating systems with ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found