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

Make scio-avro compile #4

Open
MaximeKjaer opened this issue Mar 11, 2021 · 0 comments
Open

Make scio-avro compile #4

MaximeKjaer opened this issue Mar 11, 2021 · 0 comments

Comments

@MaximeKjaer
Copy link

Code introduced in d444b23 seems to have broken build of scio-avro on Scala 2.13.5

sbt:scio> scio-avro/compile 
[info] compiling 15 Scala sources to /home/maxime/code/scio/scio-avro/target/scala-2.13/classes ...
[error] /home/maxime/code/scio/scio-avro/src/main/scala/com/spotify/scio/avro/types/AvroType.scala:50:8: Companions 'trait AvroType' and 'object AvroType' must be defined in same file:
[error]   Found in /home/maxime/code/scio/scio-avro/src/main/scala-2/com/spotify/scio/avro/types/AvroTypeMacros.scala and /home/maxime/code/scio/scio-avro/src/main/scala/com/spotify/scio/avro/types/AvroType.scala
[error] object AvroType extends AvroTypeMacros {
[error]        ^
[error] /home/maxime/code/scio/scio-avro/src/main/scala/com/spotify/scio/avro/types/AvroType.scala:89:7: AvroType is already defined as trait AvroType
[error] class AvroType[T: TypeTag] extends Serializable {
[error]       ^
[error] two errors found
[error] (scio-avro / Compile / compileIncremental) Compilation failed
[error] Total time: 4 s, completed Mar 11, 2021 5:00:07 PM
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