Skip to content

Too technical error message when using erased with class #6795

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

Closed
anatoliykmetyuk opened this issue Jul 3, 2019 · 3 comments
Closed

Too technical error message when using erased with class #6795

anatoliykmetyuk opened this issue Jul 3, 2019 · 3 comments

Comments

@anatoliykmetyuk
Copy link
Contributor

minimized code

scala> erased class Foo
1 |erased class Foo
  |^^^^^^^^^^^^^^^^
  |modifier(s) `4398046511105' incompatible with type definition

expectation

modifier(s) "erased" incompatible with type definition

@nicolasstucki
Copy link
Contributor

We have a general problem with the toString of flags

@anatoliykmetyuk
Copy link
Contributor Author

Do we already have an issue for that?

@nicolasstucki
Copy link
Contributor

No. It is something new that arose from the refactoring of flags. I noticed it while debugging.

nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Jul 3, 2019
anatoliykmetyuk added a commit that referenced this issue Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants