Skip to content

Symbol without denotation in ReactiveMongo/ReactiveMongo-BSON #17346

Closed
@Kordyjan

Description

@Kordyjan

Compiler version

Spotted in 3.3.0-RC4.
It will require additional work to determine if it was happening before.

Code

//> using scala "3.3.0-RC4-bin-SNAPSHOT"
//> using options "-Wunused:all"
//> using lib "org.reactivemongo::reactivemongo-bson-api:1.1.0-RC9"

import reactivemongo.api.bson.*

case class Eval()

given BSONDocumentHandler[Eval] = Macros.handler

Output

Crash of the compiler. Note that since #17316 missing denotation is not causing a crash.

The symbol that is missing denotation is a self-alias defined here

I was trying to reproduce the issue outside of the library but without success. We should return to that and investigate what is going on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions