-
Notifications
You must be signed in to change notification settings - Fork 27
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
Assertion failure compiling macros with Scala 2.12 #29
Comments
I'm having the same problem, both in Scala 2.11.8 and 2.12.1. My error looks slightly different:
|
In my case, adding scala-reflect to the unidoc project solved the issue for me:
|
I just revisited this issue, which is still present in Scala 2.12.8, and found that if I remove the @Sciss It appears that our issues are different. I tried adding the |
Hi!
I recently switched to using Scala 2.12, and have since found that Unidoc fails when processing sources containing macro definitions. Specifically, an assertion error results.
The
Ymacro-no-expand
option has been deprecated in favor ofYmacro-expand:none
as of Scala 2.12, so I'm using that, but otherwise, there aren't too many changes I can recall from the sources I used with Scala 2.11.Unidoc worked fine with the same code under Scala 2.12. Am I missing something?
Here's what I'm seeing:
This is then followed by a repeat of the original error message heading, without the stack trace. I'm not sure what line of the file is causing the failure.
Any ideas?
UPDATE: Incidentally, if I generate documentation using "doc" instead, I don't get any errors.
The text was updated successfully, but these errors were encountered: