Skip to content

[10.5.0-M1] Using Scala-3 artefacts crash the compiler #4194

Closed
@mushtaq

Description

@mushtaq

Even though M1 artefacts are published for scala-3, they are not usable.
This one liners crashes the compiler:

$ echo demo.sc
//> using scala "3.2.1"
//> using lib "com.typesafe.akka::akka-http:10.5.0-M1"

println(akka.http.scaladsl.model.HttpEntity)

$ scala-cli compile demo.sc
Compiling project (Scala 3.2.1, JVM)
exception occurred while compiling /Users/mushtaqahmed/projects/scala3/scripts/.scala-build/project_0676cca331-7fb9ff8688/src_generated/main/akka-http-compiler-crash.scala
Error compiling project (Scala 3.2.1, JVM)
Error: Unexpected error when compiling project_0676cca331-7fb9ff8688: 'assertion failed'
Compilation failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newTicket is unclear on it's purpose or if it is valid or nott:scala3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions