-
Notifications
You must be signed in to change notification settings - Fork 185
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
Error when running on circe #47
Comments
Any idea if my hijack import info hackery caused this error @xeno-by? |
@fthomas any idea if this might be caused a bug in the refined macro? I was compiling circe with the scalafix compiler plugin, the compiler plugin does some evil things in scalac's global to access import info https://github.com/scalacenter/scalafix/blob/master/scalafix-nsc/src/main/scala/scalafix/nsc/HijackImportInfos.scala#L13 |
Investigating this further, I suspect this error is caused by runnig My hack in scalafix is to hijack the For context, here is where the assertion fails in scala/scala https://github.com/scala/scala/blob/b9d4089d19ead36d07c2d6cdda283c9b678d515e/src/reflect/scala/reflect/internal/Importers.scala#L196 |
@olafurpg I'm not sure how hijacking these maps could lead to a crash in importers. To the best of my knowledge, importers never touch this part of the compiler. What if you don't do the hijacking? Does it still crash? |
I managed to compile the project without the compiler plugin, so I'm
guessing scalafix has something to do with it. Need to isolate the instance
for a minimal repro.
…On Sat, 28 Jan 2017 at 20:00, Eugene Burmako ***@***.***> wrote:
@olafurpg <https://github.com/olafurpg> I'm not sure how hijacking these
maps could lead to a crash in importers. To the best of my knowledge,
importers never touch this part of the compiler. What if you don't do the
hijacking? Does it still crash?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABV8XUikFN8NG687JPRsb-NCzk0TUTXzks5rW5AzgaJpZM4Lwc6s>
.
|
The scalafix compiler plugin no longer exists. |
When using the scalafix compiler plugin and compiling circe
The text was updated successfully, but these errors were encountered: