-
Notifications
You must be signed in to change notification settings - Fork 28
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
Weird interaction with refined #16
Comments
hm, looks like a problem that will need pretty extensive digging to solve…I'll see if i can find the time 😟 |
I just found a slightly different variation on this in case it helps the investigation fthomas/refined#556 The interesting thing that I found there was that it works for compile but not for generating docs. Comparing the output with |
I found that it also occurs on the What I did notice this time is that when it fails it is actually expanding the macro twice. |
unfortunately, I am unable to reproduce the problem with any of the test cases specified in those issues. |
Just want to point out that we don't have a test template for REPL or ammonite or scalaCLI at the moment. I'll figure it out eventually, but before that, please include your full error stack trace in your bug report. |
I recently stumbled upon a weird interaction between this plugin and refined.
The problem is referenced in a comment of this issue.
To put it simply, when splain is active, the macro expansion from refined start failing (with a weird
ClassCastException
) when used in the REPL (but everything works fine in regular compiation).To reproduce the problem, one can define the following
build.sbt
and past the following lines in the console:
The text was updated successfully, but these errors were encountered: