Skip to content

Symbol without denotation in ReactiveMongo/ReactiveMongo-BSON #17346

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

Closed
Kordyjan opened this issue Apr 25, 2023 · 1 comment
Closed

Symbol without denotation in ReactiveMongo/ReactiveMongo-BSON #17346

Kordyjan opened this issue Apr 25, 2023 · 1 comment
Labels
area:metaprogramming:quotes Issues related to quotes and splices itype:bug stat:needs minimization Needs a self contained minimization

Comments

@Kordyjan
Copy link
Contributor

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.

@Kordyjan Kordyjan added itype:bug stat:needs minimization Needs a self contained minimization area:metaprogramming:quotes Issues related to quotes and splices labels Apr 25, 2023
@Kordyjan Kordyjan added this to the Future versions milestone Apr 25, 2023
@WojciechMazur
Copy link
Contributor

Closing it as it does not crash in 3.3.0 or any other subsequent version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metaprogramming:quotes Issues related to quotes and splices itype:bug stat:needs minimization Needs a self contained minimization
Projects
None yet
Development

No branches or pull requests

2 participants