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
Note that the arguments for the holes are x and new scala.quoted.Type[T]() hence when unpickling we get an instance of scala.quoted.Type with an erased T. Instead of new scala.quoted.Type[T]() we should have t.
The code in the quote in
f
cannot be unpickledThis quote will be pickled as
After
ReifyQuotes
the tree isNote that the arguments for the holes are
x
andnew scala.quoted.Type[T]()
hence when unpickling we get an instance ofscala.quoted.Type
with an erasedT
. Instead ofnew scala.quoted.Type[T]()
we should havet
.If we have
then the hole receives the
t
and works as expected.The text was updated successfully, but these errors were encountered: