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

MissingClass error when classes are in an empty package #61

Open
keynmol opened this issue Nov 22, 2024 · 0 comments
Open

MissingClass error when classes are in an empty package #61

keynmol opened this issue Nov 22, 2024 · 0 comments

Comments

@keynmol
Copy link

keynmol commented Nov 22, 2024

See context here: https://discord.com/channels/632150470000902164/632628489719382036/1309443079182483476

And a reproducer here: https://gist.github.com/keynmol/bf9d79a1d36a2b99c5b23b09ebc82c2d#file-tasty-mima-missing-class-scala-L32-L54

TLDR: for

class X

when we run tasty-mima on the results of this compilation (without changes) we get List(Problem(MissingClass, <empty>.X)) as problems

Adding a package declaration to the code fixes the problem.

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