Compile in Scala 2.13
sfali opened this issue · comments
Syed Ali commented
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
eugene yokota commented
@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.
Syed Ali commented
I am using Scala 2.13.4
kenji yoshida commented
eugene yokota commented
Closing this one as a duplicate.