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

Compile in Scala 2.13 #547

Closed
sfali opened this issue Dec 8, 2020 · 4 comments
Closed

Compile in Scala 2.13 #547

sfali opened this issue Dec 8, 2020 · 4 comments

Comments

@sfali
Copy link

sfali commented Dec 8, 2020

Hi There,

I am using Scala 2.13 and getting following error:

package object inheritance is deprecated (https://github.com/scala/scala-dev/issues/441);
[error] drop the `extends` clause or use a regular object instead
[error] object `package` extends XMLProtocol { }

Any idea how what' going on?

Regards,

Syed

@eed3si9n
Copy link
Owner

eed3si9n commented Dec 8, 2020

@sfali I'm not aware of that. Could you tell me which version of Scala 2.13 you're using?
It seems like the deprecation of package object inheritance was reverted in scala/scala#7857.

@sfali
Copy link
Author

sfali commented Dec 8, 2020

I am using Scala 2.13.4

@xuwei-k
Copy link
Contributor

xuwei-k commented Oct 5, 2023

@eed3si9n
Copy link
Owner

eed3si9n commented Oct 5, 2023

Closing this one as a duplicate.

@eed3si9n eed3si9n closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2023
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

3 participants