You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's very strange, because I remember fixing exactly the same bug back then. Probably should make an effort to support partest-style tests for these situations.
Here's what I get in paradise for 2.11 (well, at least 2.11 isn't susceptible to #13, so we get a clear error message instead of just a silent expansion failure):
scala> @testThing class Thingy { }
<console>:29: error: macro annotation could not be expanded (the most common reason for that is that you need to enable the macro paradise plugin; another possibility is that you try to use macro annotation in the same compilation run that defines it)
@testThing class Thingy { }
^
Allright, that fix was about macro annotations defined in repl and not expanding afterwards. This issue is about macro annotations precompiled on classpath and not being picked up by repl.
http://stackoverflow.com/questions/22549647/whats-the-right-way-to-generate-a-companion-class-de-novo-using-quasiquotes
The text was updated successfully, but these errors were encountered: