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

Update how we print types in error messages #29

Open
cpovirk opened this issue Apr 25, 2023 · 0 comments
Open

Update how we print types in error messages #29

cpovirk opened this issue Apr 25, 2023 · 0 comments

Comments

@cpovirk
Copy link
Collaborator

cpovirk commented Apr 25, 2023

jspecify/jspecify#129 proposes some differences from what we do now, including:

  • using a ! suffix for non-nullable types
    • including usages of E inside @NullMarked class Foo<E> { ... }
  • outputting Foo?<Bar> instead of Foo<Bar>?
  • maybe other stuff?

(There are also larger questions about whether to use shorthand at all in error messages or, if we do, whether to supplement it with @Nullable Foo-style information.)

I don't know if we're hoping to make a decision on that issue in the 0.3 timeframe, so I'm leaving this issue without a milestone for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant