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 doc working again #1213

Closed
Odomontois opened this issue Jan 24, 2024 · 0 comments · Fixed by #1215
Closed

Make doc working again #1213

Odomontois opened this issue Jan 24, 2024 · 0 comments · Fixed by #1215

Comments

@Odomontois
Copy link
Member

Odomontois commented Jan 24, 2024

After #1192 , Unidos apparently is trying to compile Scala 3 sources using the Scala 2 compiler during doc generation.
This results in numerous syntax error such as

[error] /.../tofu/modules/kernel/src/main/scala-3/tofu/ScopedInstancesMacro.scala:7:27: ';' expected but ':' found.
[error] trait ScopedInstancesMacro:
[error]                           ^
[error] /...tofu/modules/kernel/src/main/scala-3/tofu/ScopedInstancesMacro.scala:15:12: expected start of definition
[error]   implicit inline def makeExecuteCE3[Tag, F[_]](p1: ExecutionContext): ScopedExecute[Tag, F] =
[error]            ^
[error] /.../tofu/modules/kernel/src/main/scala-3/tofu/concurrent/AtomInstances.scala:8:9: type application is not allowed for postfix operators
[error]   given representableKInstance[A]: RepresentableK[({ type L[x[_]] = Atom[x, A] })#L] =
[error]         ^

We need to exclude somehow scala 3 sources from unidoc

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

Successfully merging a pull request may close this issue.

1 participant