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